staging: erofs: introduce xattr & acl support
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 26 Jul 2018 12:21:52 +0000 (20:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jul 2018 15:24:08 +0000 (17:24 +0200)
commitb17500a0fdbae10a8ce274dd523106f16d114339
tree910e9ab583a0a2c0cef624a68886ed26d8080a9d
parentfd68c6a20fcfac78b70465ec2e858403dc200056
staging: erofs: introduce xattr & acl support

This implements xattr and acl functionalities.

Inline and shared xattrs are introduced for flexibility.
Specifically, if the same xattr occurs for many times
in a large number of inodes or the value of a xattr is so large
that it isn't suitable to be inlined, a shared xattr
kept in the xattr meta will be used instead.

Signed-off-by: Miao Xie <miaoxie@huawei.com>
Signed-off-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/Kconfig
drivers/staging/erofs/Makefile
drivers/staging/erofs/inode.c
drivers/staging/erofs/internal.h
drivers/staging/erofs/namei.c
drivers/staging/erofs/super.c
drivers/staging/erofs/xattr.c [new file with mode: 0644]
drivers/staging/erofs/xattr.h [new file with mode: 0644]