f2fs: add a f2fs_lookup_extent_cache_block helper
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Nov 2022 09:15:14 +0000 (10:15 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 6 Jan 2023 23:13:00 +0000 (15:13 -0800)
commit04a91ab016847440c8c937dda628079070f38c7a
treebc2bd03a78e9b760aadb9cff65320c41653b2f1e
parentbc29835a9d4860df93a663d659e07dfdd8b4f629
f2fs: add a f2fs_lookup_extent_cache_block helper

All but three callers of f2fs_lookup_extent_cache just want the block
address.  Add a small helper to simplify them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/gc.c