staging: erofs: rearrange vle clustertype definitions
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 21 Aug 2018 14:49:33 +0000 (22:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:46:13 +0000 (19:46 +0200)
commit99691b4662ddc6e62978976a434ee6444c242263
tree38278e92b4e3207074e6507c66d249901034b109
parentab47dd2b08193753ffd289d4042988d2c077cb76
staging: erofs: rearrange vle clustertype definitions

This patch moves vle clustertype definitions to erofs_fs.h
since they are part of on-disk format.

It also adds compile time check for Z_EROFS_VLE_DI_CLUSTER_TYPE_BITS

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/erofs_fs.h
drivers/staging/erofs/unzip_vle.c