f2fs: Get the superblock from the mapping instead of the page
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 29 Mar 2022 20:27:21 +0000 (16:27 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 1 Apr 2022 18:40:44 +0000 (14:40 -0400)
commit29c87793eb3c6f78f215f85be863e5415e263e43
tree731ae192bbdb40314b4b373ace992b569cfb9844
parent0fb5b2ebc0422fccbb41b09ff38ff7f27616294d
f2fs: Get the superblock from the mapping instead of the page

It's slightly more efficient to go directly from the mapping to the
superblock than to go from the page.  Now that these routines have
the mapping passed to them, there's no reason not to use it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
fs/f2fs/checkpoint.c
fs/f2fs/node.c