diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-01 05:41:46 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-10 05:12:33 +0200 |
commit | c26cd04586309e85fe9b15c7c3c9cb83ec5ec70b (patch) | |
tree | b8cde4929ee934c3ff746bc6cb38151c00d422b4 /fs/f2fs/node.c | |
parent | ext4: Convert to release_folio (diff) | |
download | linux-c26cd04586309e85fe9b15c7c3c9cb83ec5ec70b.tar.xz linux-c26cd04586309e85fe9b15c7c3c9cb83ec5ec70b.zip |
f2fs: Convert to release_folio
While converting f2fs_release_page() to f2fs_release_folio(), cache the
sb_info so we don't need to retrieve it twice, and remove the redundant
call to set_page_private(). The use of folios should be pushed further
into f2fs from here.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index c45d341dcf6e..8ccff18560ff 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -2165,7 +2165,7 @@ const struct address_space_operations f2fs_node_aops = { .writepages = f2fs_write_node_pages, .dirty_folio = f2fs_dirty_node_folio, .invalidate_folio = f2fs_invalidate_folio, - .releasepage = f2fs_release_page, + .release_folio = f2fs_release_folio, #ifdef CONFIG_MIGRATION .migratepage = f2fs_migrate_page, #endif |