aufs: xattr and acl
Support for XATTR and ACL including several branch attributes to ignore
the copy error around XATTR and ACL.
NFS always sets MS_POSIXACL regardless its mount option 'noacl.'
When MS_POSIXACL is set, generic_permission() calls check_acl() (via
acl_permission_check()) and gets -EOPNOTSUPP because the NFS branch is
mounted as 'noacl.'
In aufs, h_permission() should not call generic_permission() in this
case.
The similar thing happens in coping-up XATTR. vfs_getxattr_alloc()
returns -EOPNOTSUPP.
See also the document in this commit.
Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
fs/aufs/posix_acl.c
0 → 100644
fs/aufs/xattr.c
0 → 100644
Please register or sign in to comment