]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: scan devices from device table
authorJeffle Xu <jefflexu@linux.alibaba.com>
Thu, 12 May 2022 05:56:01 +0000 (13:56 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 17 May 2022 16:11:21 +0000 (00:11 +0800)
commitc9ffb9220eb73037fb88df4aa160e7f8dd12d1a9
tree585ac83e0d9f37541cd2fd70d7170839ede5fce1
parentfbbf592f0c25c65d5cd885a299d5f6e5e3560b92
erofs: scan devices from device table

When "-o device" mount option is not specified, scan the device table
and instantiate the devices if there's any in the device table. In this
case, the tag field of each device slot uniquely specifies a device.

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220512055601.106109-1-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/erofs_fs.h
fs/erofs/super.c