staging: erofs: add requirements field in superblock
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 13 Jun 2019 08:35:41 +0000 (16:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2019 20:58:58 +0000 (22:58 +0200)
commit5efe5137f05bbb4688890620934538c005e7d1d6
tree09e24c8e400535156cca7c8e51d231befe81c633
parentf2c7c76c5d0a443053e94adb9f0918fa2fb85c3a
staging: erofs: add requirements field in superblock

There are some backward incompatible features pending
for months, mainly due to on-disk format expensions.

However, we should ensure that it cannot be mounted with
old kernels. Otherwise, it will causes unexpected behaviors.

Fixes: ba2b77a82022 ("staging: erofs: add super block operations")
Cc: <stable@vger.kernel.org> # 4.19+
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/erofs_fs.h
drivers/staging/erofs/internal.h
drivers/staging/erofs/super.c