]> Gentwo Git Trees - linux/.git/commit
f2fs: Add f2fs_folio_put()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Feb 2025 05:51:37 +0000 (05:51 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Mar 2025 17:02:23 +0000 (17:02 +0000)
commit894ac9d330c9eb8e108d0d3771ffa7bc89112316
treeb3bbc220d90aa03cbdd1bcbe93b7d7e0613d7579
parent36e1d6344aca13e1f20af099561db75f28649151
f2fs: Add f2fs_folio_put()

Convert f2fs_put_page() to f2fs_folio_put() and add a wrapper.
Replaces three calls to compound_head() with one.

[Jaegeuk Kim: fix missing null pointer check in f2fs_put_page]
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