f2fs: Pass a folio to is_recoverable_dnode()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 8 Jul 2025 17:03:09 +0000 (18:03 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Jul 2025 15:55:53 +0000 (15:55 +0000)
commitbead9a6f1b8d22a2e8185a380a4738cb737d0d70
tree057e605038534a8c7807c1a79735d2e579201ca6
parenta63f2de2dd950aaa7c6008e90f30c43b34f643f5
f2fs: Pass a folio to is_recoverable_dnode()

All callers have a folio so pass it in.  Also make the argument const
as the function does not modify it.  Removes a call 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.h
fs/f2fs/recovery.c