]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: Hoist the page_folio() call to the start of f2fs_merge_page_bio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Feb 2025 05:51:54 +0000 (05:51 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Mar 2025 17:02:26 +0000 (17:02 +0000)
commitb8fcb8423053adaa27723010260aea90474b431a
tree1e334704516bff672c80091dc0ec6361d4d8bcf3
parent922e24acb49e5e32924c13d27b565a4807d777a4
f2fs: Hoist the page_folio() call to the start of f2fs_merge_page_bio()

Remove one call to compound_head() and a reference to page->mapping
by calling page_folio() early on.

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