Skip to content

Commit 893d46e

Browse files
Christoph HellwigAl Viro
authored andcommitted
fs: add a set_acl inode operation
This will allow moving all the Posix ACL handling into the VFS and clean up tons of cruft in the filesystems. 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>
1 parent 2982baa commit 893d46e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/fs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,7 @@ struct inode_operations {
15801580
struct file *, unsigned open_flag,
15811581
umode_t create_mode, int *opened);
15821582
int (*tmpfile) (struct inode *, struct dentry *, umode_t);
1583+
int (*set_acl)(struct inode *, struct posix_acl *, int);
15831584
} ____cacheline_aligned;
15841585

15851586
ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,

0 commit comments

Comments
 (0)