f2fs: Use folios in f2fs_get_dnode_of_data()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:11:34 +0000 (21:11 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:26:36 +0000 (15:26 +0000)
commitfb733f987005aae431b58ce6eae7254808ff98b3
tree0bd2ec031af191b365338a42ba1ffd1cc2729604
parentaa220cede54ed671f7be413d8dacb91263a9d218
f2fs: Use folios in f2fs_get_dnode_of_data()

Pass the folio into __get_node_folio() and f2fs_get_node_page_ra() which
becomes f2fs_get_node_folio_ra().  That function has no callers outside
node.c, so make it static.  Removes seven calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/node.c