erofs: enable long extended attribute name prefixes
authorJingbo Xu <jefflexu@linux.alibaba.com>
Fri, 7 Apr 2023 22:28:08 +0000 (06:28 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 16 Apr 2023 17:15:53 +0000 (01:15 +0800)
commit6a318ccd7e083729cbcdbd174d7070f6b7d24130
treeaf72523b2e79d248cb90f1f4da1bea6027e69f46
parent82bc1ef41d275106a2b5288e4f5b0df19223066a
erofs: enable long extended attribute name prefixes

Let's enable long xattr name prefix feature.  Old kernels will just
ignore / skip such extended attributes.  In addition, in case you
don't want to mount such images, add another incompatible feature as
an option for this.

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20230407222808.19670-1-jefflexu@linux.alibaba.com
[ Gao Xiang: minor commit message fix. ]
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/erofs_fs.h
fs/erofs/internal.h
fs/erofs/super.c