f2fs: Use a folio in f2fs_truncate_partial_cluster()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Nov 2024 04:58:18 +0000 (04:58 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 Dec 2024 16:12:01 +0000 (16:12 +0000)
commit1cda5bc0b2fe93cdcb5f05a02f814a282d32742c
treeedf58f17f226ef0569e54f66e50e2fe3e4c236be
parentff6c82a934f7b5df8702579d921209c5ca336102
f2fs: Use a folio in f2fs_truncate_partial_cluster()

Convert the incoming page to a folio and use it throughout.
Removes an access to page->index.

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