kill boilerplate around posix_acl_chmod_masq()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Jul 2011 04:18:02 +0000 (00:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 18:27:30 +0000 (14:27 -0400)
commitbc26ab5f65ae41b71df86ea46df3c3833d1d8d83
tree85bbc4e0da4fac99ccf31b3609c61e2b148a8498
parent4482a087d4c5a6ffbc385c56b4a4e2f694d9fd5d
kill boilerplate around posix_acl_chmod_masq()

new helper: posix_acl_chmod(&acl, gfp, mode).  Replaces acl with modified
clone or with NULL if that has failed; returns 0 or -ve on error.  All
callers of posix_acl_chmod_masq() switched to that - they'd been doing
exactly the same thing.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14 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/ocfs2/acl.c
fs/posix_acl.c
fs/reiserfs/xattr_acl.c
fs/xfs/linux-2.6/xfs_acl.c
include/linux/posix_acl.h