diff options
-rw-r--r-- | fs/posix_acl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/posix_acl.c b/fs/posix_acl.c index b1a66e844d35..2fdca614ded3 100644 --- a/fs/posix_acl.c +++ b/fs/posix_acl.c | |||
@@ -833,9 +833,7 @@ posix_acl_xattr_list(struct dentry *dentry, char *list, size_t list_size, | |||
833 | size_t size; | 833 | size_t size; |
834 | 834 | ||
835 | if (!IS_POSIXACL(d_backing_inode(dentry))) | 835 | if (!IS_POSIXACL(d_backing_inode(dentry))) |
836 | return -EOPNOTSUPP; | 836 | return 0; |
837 | if (d_is_symlink(dentry)) | ||
838 | return -EOPNOTSUPP; | ||
839 | 837 | ||
840 | if (type == ACL_TYPE_ACCESS) | 838 | if (type == ACL_TYPE_ACCESS) |
841 | xname = POSIX_ACL_XATTR_ACCESS; | 839 | xname = POSIX_ACL_XATTR_ACCESS; |