Re: [PATCH v4 2/2] staging: erofs: complete POSIX ACL support

2019-01-29 Thread Gao Xiang
On 2019/1/29 16:43, Dan Carpenter wrote: > On Tue, Jan 29, 2019 at 04:35:20PM +0800, Gao Xiang wrote: >> 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: >>

Re: [PATCH v4 2/2] staging: erofs: complete POSIX ACL support

2019-01-29 Thread Dan Carpenter
On Tue, Jan 29, 2019 at 04:35:20PM +0800, Gao Xiang wrote: > 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 = E

[PATCH v4 2/2] staging: erofs: complete POSIX ACL support

2019-01-29 Thread Gao Xiang
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 s