]> 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)
commit3e17b4f9dd98ff7440d677650658e6e93bb17b82
tree731ae192bbdb40314b4b373ace992b569cfb9844
parent4b2dd2fb79e597184f0157d8af299d2b06679bb0
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