f2fs: Pass a folio to get_nid()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 8 Jul 2025 17:03:18 +0000 (18:03 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Jul 2025 15:56:17 +0000 (15:56 +0000)
commitfddd722e73afadff41f570affea351b970ea23e4
tree3ff961f6d3e6ab4df0908b0b899763b395d6334d
parent889293ea1148857fcf3879073d223dd7c47a61fd
f2fs: Pass a folio to get_nid()

All callers have a folio so pass it in.  Also mark it as const to help
the compiler.

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/node.c
fs/f2fs/node.h