kill boilerplates around posix_acl_create_masq()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Jul 2011 07:10:32 +0000 (03:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 18:27:32 +0000 (14:27 -0400)
commit826cae2f2b4d726b925f43bc208a571639da4761
treeb7f83eecf3bde8c4e455d89c7c535988b3e8bd59
parent95203befa8887997f14077d8557e67d78457ee02
kill boilerplates around posix_acl_create_masq()

new helper: posix_acl_create(&acl, gfp, mode_p).  Replaces acl with
modified clone, on failure releases acl and replaces with NULL.
Returns 0 or -ve on error.  All callers of posix_acl_create_masq()
switched.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 files changed:
fs/9p/acl.c
fs/btrfs/acl.c
fs/ext2/acl.c
fs/ext3/acl.c
fs/ext4/acl.c
fs/generic_acl.c
fs/gfs2/acl.c
fs/jffs2/acl.c
fs/jfs/acl.c
fs/nfs/nfs3acl.c
fs/ocfs2/acl.c
fs/posix_acl.c
fs/reiserfs/xattr_acl.c
fs/xfs/linux-2.6/xfs_acl.c
fs/xfs/linux-2.6/xfs_iops.c
include/linux/posix_acl.h