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

Most callers pass NULL, and the one which passes a page already has a
folio, so we can pass it in.

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/segment.c