]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: Convert truncate_partial_data_page() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Feb 2025 05:51:58 +0000 (05:51 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Mar 2025 17:02:26 +0000 (17:02 +0000)
commitab907aa2a2f3224c9ad47e768d8b911382e0ec83
treec80bd848d807186850005cfbd9563ff12c6549c9
parent6d1ba45c8db084348e033db531161f883676b859
f2fs: Convert truncate_partial_data_page() to use a folio

Retrieve a folio from the page cache and use it throughout.
Saves five hidden calls to compound_head().

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