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

[ Upstream commit cf342d3beda000b4c60990755ca7800de5038785 ]

This allows to keep the f2fs_do_map_lock based locking scheme
private to data.c.

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