summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/gcinode.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-12-15 21:44:00 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-01-18 17:12:41 -0800
commit6ad4cd7f36000ae145373b68ac61f15a1793b054 (patch)
tree8c67d9c160f32e3733509f043cc06e303a827947 /fs/nilfs2/gcinode.c
parent0d22fe2f039e971c2d7cc97d19ce48d8bdae253c (diff)
downloadlinux-6ad4cd7f36000ae145373b68ac61f15a1793b054.tar.gz
linux-6ad4cd7f36000ae145373b68ac61f15a1793b054.tar.bz2
linux-6ad4cd7f36000ae145373b68ac61f15a1793b054.zip
nilfs2: replace obvious uses of b_page with b_folio
These places just use b_page to get to the buffer's address_space or the index of the page the buffer is in. Link: https://lkml.kernel.org/r/20221215214402.3522366-11-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/gcinode.c')
-rw-r--r--fs/nilfs2/gcinode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/gcinode.c b/fs/nilfs2/gcinode.c
index b0d22ff24b67..48fe71d309cb 100644
--- a/fs/nilfs2/gcinode.c
+++ b/fs/nilfs2/gcinode.c
@@ -140,7 +140,7 @@ int nilfs_gccache_wait_and_mark_dirty(struct buffer_head *bh)
{
wait_on_buffer(bh);
if (!buffer_uptodate(bh)) {
- struct inode *inode = bh->b_page->mapping->host;
+ struct inode *inode = bh->b_folio->mapping->host;
nilfs_err(inode->i_sb,
"I/O error reading %s block for GC (ino=%lu, vblocknr=%llu)",