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>
Showing
- fs/9p/acl.c 5 additions, 8 deletionsfs/9p/acl.c
- fs/btrfs/acl.c 5 additions, 11 deletionsfs/btrfs/acl.c
- fs/ext2/acl.c 5 additions, 8 deletionsfs/ext2/acl.c
- fs/ext3/acl.c 19 additions, 24 deletionsfs/ext3/acl.c
- fs/ext4/acl.c 20 additions, 24 deletionsfs/ext4/acl.c
- fs/generic_acl.c 5 additions, 8 deletionsfs/generic_acl.c
- fs/gfs2/acl.c 12 additions, 18 deletionsfs/gfs2/acl.c
- fs/jffs2/acl.c 5 additions, 8 deletionsfs/jffs2/acl.c
- fs/jfs/acl.c 14 additions, 17 deletionsfs/jfs/acl.c
- fs/ocfs2/acl.c 6 additions, 9 deletionsfs/ocfs2/acl.c
- fs/posix_acl.c 18 additions, 0 deletionsfs/posix_acl.c
- fs/reiserfs/xattr_acl.c 18 additions, 23 deletionsfs/reiserfs/xattr_acl.c
- fs/xfs/linux-2.6/xfs_acl.c 6 additions, 10 deletionsfs/xfs/linux-2.6/xfs_acl.c
- include/linux/posix_acl.h 1 addition, 0 deletionsinclude/linux/posix_acl.h
Loading
Please register or sign in to comment