nilfs2: convert common metadata file code to be folio-based
authorRyusuke Konishi <konishi.ryusuke@gmail.com>
Thu, 24 Oct 2024 09:25:36 +0000 (18:25 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:37 +0000 (17:12 -0800)
commit4fd0a096f46887822b1138677510980fe03c002b
tree6d35b32ac2693192e348260b0df632244028c152
parent25f12e46a0e05f5f75fd434e8098564e6f6793a5
nilfs2: convert common metadata file code to be folio-based

In the common routines for metadata files, nilfs_mdt_insert_new_block(),
which inserts a new block buffer into the cache, is still page-based, and
there are two places where bh_offset() is used.  Convert these to
page-based.

Link: https://lkml.kernel.org/r/20241024092602.13395-3-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/alloc.c
fs/nilfs2/cpfile.c
fs/nilfs2/mdt.c