Skip to content

Commit 8fde439

Browse files
Matthew Wilcox (Oracle)kdave
Matthew Wilcox (Oracle)
authored andcommitted
bio: Export bio_add_folio_nofail to modules
Several modules use __bio_add_page() today and may need to be converted to bio_add_folio_nofail(). Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 58a774c commit 8fde439

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/bio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,7 @@ void bio_add_folio_nofail(struct bio *bio, struct folio *folio, size_t len,
11251125
WARN_ON_ONCE(off > UINT_MAX);
11261126
__bio_add_page(bio, &folio->page, len, off);
11271127
}
1128+
EXPORT_SYMBOL_GPL(bio_add_folio_nofail);
11281129

11291130
/**
11301131
* bio_add_folio - Attempt to add part of a folio to a bio.

0 commit comments

Comments
 (0)