fs: make posix_acl_chmod more useful
Rename the current posix_acl_chmod to __posix_acl_chmod and add a fully featured ACL chmod helper that uses the ->set_acl inode operation. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Jan Kara <jack@suse.cz> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/9p/acl.c 1 addition, 1 deletionfs/9p/acl.c
- fs/btrfs/acl.c 1 addition, 1 deletionfs/btrfs/acl.c
- fs/ext2/acl.c 1 addition, 1 deletionfs/ext2/acl.c
- fs/ext3/acl.c 1 addition, 1 deletionfs/ext3/acl.c
- fs/ext4/acl.c 1 addition, 1 deletionfs/ext4/acl.c
- fs/f2fs/acl.c 1 addition, 1 deletionfs/f2fs/acl.c
- fs/generic_acl.c 1 addition, 1 deletionfs/generic_acl.c
- fs/gfs2/acl.c 1 addition, 1 deletionfs/gfs2/acl.c
- fs/hfsplus/posix_acl.c 1 addition, 1 deletionfs/hfsplus/posix_acl.c
- fs/jffs2/acl.c 1 addition, 1 deletionfs/jffs2/acl.c
- fs/jfs/acl.c 1 addition, 1 deletionfs/jfs/acl.c
- fs/ocfs2/acl.c 1 addition, 1 deletionfs/ocfs2/acl.c
- fs/posix_acl.c 27 additions, 3 deletionsfs/posix_acl.c
- fs/reiserfs/xattr_acl.c 1 addition, 1 deletionfs/reiserfs/xattr_acl.c
- fs/xfs/xfs_acl.c 1 addition, 1 deletionfs/xfs/xfs_acl.c
- include/linux/posix_acl.h 13 additions, 4 deletionsinclude/linux/posix_acl.h
Loading
Please register or sign in to comment