]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
erofs: use `struct erofs_device_info` for the primary device
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 16 Dec 2024 12:53:08 +0000 (20:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:00 +0000 (14:02 +0100)
commit3e0d81efcb45d53466135c0c93dce62df27b6d6a
treed85af61ded5baf452764d121af7af86b715f87a0
parent910798ecd33d45b257d548a0c6ab5e7bb82f28fe
erofs: use `struct erofs_device_info` for the primary device

[ Upstream commit 7b00af2c5414dc01e0718deef7ead81102867636 ]

Instead of just listing each one directly in `struct erofs_sb_info`
except that we still use `sb->s_bdev` for the primary block device.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241216125310.930933-2-hsiangkao@linux.alibaba.com
Stable-dep-of: 6422cde1b0d5 ("erofs: use buffered I/O for file-backed mounts by default")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/erofs/data.c
fs/erofs/fscache.c
fs/erofs/internal.h
fs/erofs/super.c