kill boilerplates around posix_acl_create_masq()
[linux-2.6-block.git] / fs / xfs / linux-2.6 / xfs_iops.c
index de666917db0667b4d98fb930720c8720e3af47a2..77463dd55198fc849761cca3258be03c48327e9a 100644 (file)
@@ -202,9 +202,9 @@ xfs_vn_mknod(
 
        if (default_acl) {
                error = -xfs_inherit_acl(inode, default_acl);
+               default_acl = NULL;
                if (unlikely(error))
                        goto out_cleanup_inode;
-               posix_acl_release(default_acl);
        }