f2fs: Add F2FS_F_SB()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Nov 2024 04:58:21 +0000 (04:58 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 Dec 2024 16:12:10 +0000 (16:12 +0000)
commit1cf746007005593aa51395302ca0d31814f4ce42
tree941e0a164d5750cc0a41092a0f6cbf9951992b7a
parent87e2a15bc00840762b082399493597e8d3c1e42c
f2fs: Add F2FS_F_SB()

This is the folio equivalent of F2FS_P_SB().  Removes a call to
page_file_mapping() as we know folios seen by f2fs are never part of
the swap cache.

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/f2fs.h