]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: decouple basic mount options from fs_context
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 7 Oct 2021 07:02:23 +0000 (15:02 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 17 Oct 2021 15:57:15 +0000 (23:57 +0800)
commit87aede54d690570d23d2219213afdc3daef156a2
treec3b59aaca963c5fa4c16131d4fcd4ec2a39d3b20
parente33fc506948752c8daeceab0a528ccdb4c353572
erofs: decouple basic mount options from fs_context

Previously, EROFS mount options are all in the basic types, so
erofs_fs_context can be directly copied with assignment. However,
when the multiple device feature is introduced, it's hard to handle
multiple device information like the other basic mount options.

Let's separate basic mount option usage from fs_context, thus
multiple device information can be handled gracefully then.

No logic changes.

Link: https://lore.kernel.org/r/20211007070224.12833-1-hsiangkao@linux.alibaba.com
Reviewed-by: Chao Yu <chao@kernel.org>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/xattr.c
fs/erofs/zdata.c