Message ID | 20231211140552.973290-9-yukuai1@huaweicloud.com |
---|---|
State | New |
Headers | show |
Series | block: don't access bd_inode directly from other modules | expand |
diff --git a/block/bio.c b/block/bio.c index 5eba53ca953b..a7b2bbb210ee 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1119,6 +1119,7 @@ void bio_add_folio_nofail(struct bio *bio, struct folio *folio, size_t len, WARN_ON_ONCE(off > UINT_MAX); __bio_add_page(bio, &folio->page, len, off); } +EXPORT_SYMBOL_GPL(bio_add_folio_nofail); /** * bio_add_folio - Attempt to add part of a folio to a bio.