aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-10 13:34:41 +0000
committerAndreas Gruenbacher <agruenba@redhat.com>2025-03-10 18:15:39 +0100
commit072d732c055fc75e3e12f6ea190bbf453e0297f5 (patch)
treefd3a44d280ca2156a89eb056d8afdb116009470f
parentgfs2: Use b_folio in gfs2_trans_add_meta() (diff)
downloadwireguard-linux-072d732c055fc75e3e12f6ea190bbf453e0297f5.tar.xz
wireguard-linux-072d732c055fc75e3e12f6ea190bbf453e0297f5.zip
gfs2: Use b_folio in gfs2_submit_bhs()
Remove a reference to bh->b_page which is going to be removed soon. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
-rw-r--r--fs/gfs2/meta_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index fea3efcc2f93..66db506a5f7f 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -232,7 +232,7 @@ static void gfs2_submit_bhs(blk_opf_t opf, struct buffer_head *bhs[], int num)
bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9);
while (num > 0) {
bh = *bhs;
- if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) {
+ if (!bio_add_folio(bio, bh->b_folio, bh->b_size, bh_offset(bh))) {
BUG_ON(bio->bi_iter.bi_size == 0);
break;
}