]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: factor a f2fs_map_blocks_cached helper
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Oct 2025 20:51:27 +0000 (16:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:04:41 +0000 (14:04 +0100)
commit04038e4477ea058153fbbe28510075d21a408031
tree6e51170a34611f1bc51d430780ce3ab6a8758c01
parent9cadfcda1ea0377b2c0223c914e35ba1cdcf851e
f2fs: factor a f2fs_map_blocks_cached helper

[ Upstream commit 0094e98bd1477a6b7d97c25b47b19a7317c35279 ]

Add a helper to deal with everything needed to return a f2fs_map_blocks
structure based on a lookup in the extent cache.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 9d5c4f5c7a2c ("f2fs: fix wrong block mapping for multi-devices")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/data.c