]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: Use a folio in move_data_block()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:10:28 +0000 (21:10 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:21:33 +0000 (15:21 +0000)
commitc14b4562bc9bd7cb57dbb95eae73fc3f24cdfadc
tree18e5ce94e366f3fb93c26b9aea44e6b59098b4f0
parent6f8b9318c6eb958f64a985a0af7efc2702f15605
f2fs: Use a folio in move_data_block()

Fetch a folio from the pagecache instead of a page and operate on it
throughout.  Removes eight calls to compound_head() and an access to
page->mapping.

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