]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: Use a folio throughout f2fs_truncate_inode_blocks()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Feb 2025 05:51:52 +0000 (05:51 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Mar 2025 17:02:25 +0000 (17:02 +0000)
commit520b17e093f42e5d71fdc36e5203cec69188ea56
tree709ca87d8796d21639eff9fd569aecbfcc1f3997
parent4d417ae2bfce4a778cf4e65d87ec124ba871b3fb
f2fs: Use a folio throughout f2fs_truncate_inode_blocks()

Use f2fs_get_node_folio() to get a folio and use it throughout.  Remove a
few calls to compound_head() and a reference 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/node.c