git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kill boilerplates around posix_acl_create_masq()
[pandora-kernel.git]
/
fs
/
xfs
/
linux-2.6
/
xfs_iops.c
diff --git
a/fs/xfs/linux-2.6/xfs_iops.c
b/fs/xfs/linux-2.6/xfs_iops.c
index
de66691
..
77463dd
100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_iops.c
+++ b/
fs/xfs/linux-2.6/xfs_iops.c
@@
-202,9
+202,9
@@
xfs_vn_mknod(
if (default_acl) {
error = -xfs_inherit_acl(inode, default_acl);
if (default_acl) {
error = -xfs_inherit_acl(inode, default_acl);
+ default_acl = NULL;
if (unlikely(error))
goto out_cleanup_inode;
if (unlikely(error))
goto out_cleanup_inode;
- posix_acl_release(default_acl);
}
}