]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6fda7f4339ef2cae60bec105c58ac6776303057
tree731ae192bbdb40314b4b373ace992b569cfb9844
parent6262594ef1e49ecdbd9bd2d01e8bffd759c90154
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