diff options
Diffstat (limited to 'fs/ceph/acl.c')
-rw-r--r-- | fs/ceph/acl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ceph/acl.c b/fs/ceph/acl.c index 21887d63dad5..469f2e8657e8 100644 --- a/fs/ceph/acl.c +++ b/fs/ceph/acl.c | |||
@@ -104,12 +104,6 @@ int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type) | |||
104 | umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; | 104 | umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; |
105 | struct dentry *dentry; | 105 | struct dentry *dentry; |
106 | 106 | ||
107 | if (acl) { | ||
108 | ret = posix_acl_valid(acl); | ||
109 | if (ret < 0) | ||
110 | goto out; | ||
111 | } | ||
112 | |||
113 | switch (type) { | 107 | switch (type) { |
114 | case ACL_TYPE_ACCESS: | 108 | case ACL_TYPE_ACCESS: |
115 | name = POSIX_ACL_XATTR_ACCESS; | 109 | name = POSIX_ACL_XATTR_ACCESS; |