diff options
author | Gao Xiang | 2019-01-29 09:35:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-01-30 15:38:50 +0100 |
commit | 516c115c9170f5835102ef3982d7073808da540b (patch) | |
tree | 4a94b5f62816c5f7098ab56448c64fe5cad0bec6 /drivers/staging/erofs/Documentation | |
parent | staging: erofs: use xattr_prefix to wrap up (diff) | |
download | kernel-qcow2-linux-516c115c9170f5835102ef3982d7073808da540b.tar.gz kernel-qcow2-linux-516c115c9170f5835102ef3982d7073808da540b.tar.xz kernel-qcow2-linux-516c115c9170f5835102ef3982d7073808da540b.zip |
staging: erofs: complete POSIX ACL support
Let's add .get_acl() to read the file's acl from its xattrs
to make POSIX ACL usable.
Here is the on-disk detail,
fullname: system.posix_acl_access
struct erofs_xattr_entry:
.e_name_len = 0
.e_name_index = EROFS_XATTR_INDEX_POSIX_ACL_ACCESS (2)
fullname: system.posix_acl_default
struct erofs_xattr_entry:
.e_name_len = 0
.e_name_index = EROFS_XATTR_INDEX_POSIX_ACL_DEFAULT (3)
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs/Documentation')
-rw-r--r-- | drivers/staging/erofs/Documentation/filesystems/erofs.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/erofs/Documentation/filesystems/erofs.txt b/drivers/staging/erofs/Documentation/filesystems/erofs.txt index 803988d74c21..961ec4da7705 100644 --- a/drivers/staging/erofs/Documentation/filesystems/erofs.txt +++ b/drivers/staging/erofs/Documentation/filesystems/erofs.txt @@ -36,6 +36,8 @@ Here is the main features of EROFS: - Support xattr inline and tail-end data inline for all files; + - Support POSIX.1e ACLs by using xattrs; + - Support transparent file compression as an option: LZ4 algorithm with 4 KB fixed-output compression for high performance; |