]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ceph/acl.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
[karo-tx-linux.git] / fs / ceph / acl.c
index 21887d63dad589a53e3da21fccb00c45a5c28ab6..469f2e8657e8426bfb3ad94fb12dde25e06ccb18 100644 (file)
@@ -104,12 +104,6 @@ int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type)
        umode_t new_mode = inode->i_mode, old_mode = inode->i_mode;
        struct dentry *dentry;
 
-       if (acl) {
-               ret = posix_acl_valid(acl);
-               if (ret < 0)
-                       goto out;
-       }
-
        switch (type) {
        case ACL_TYPE_ACCESS:
                name = POSIX_ACL_XATTR_ACCESS;