]> www.infradead.org Git - users/dwmw2/linux.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)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 16 Dec 2024 13:01:59 +0000 (21:01 +0800)
commit7b00af2c5414dc01e0718deef7ead81102867636
treebfbe10fd24c768f9545c49beb23b73cf8434be54
parente2de3c1bf6a0c99b089bd706a62da8f988918858
erofs: use `struct erofs_device_info` for the primary device

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
fs/erofs/data.c
fs/erofs/fscache.c
fs/erofs/internal.h
fs/erofs/super.c