]> 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)
commitb70f024fb78e37ff7b57c8dade5a812c5a397f4d
tree585ac83e0d9f37541cd2fd70d7170839ede5fce1
parent3aabb1a1959f2e3c148614622167be9d574854d1
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