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.

Change-Id: I99d1ac617acb0da73722f0f977357f6a1ed4efab
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>
This commit is contained in:
Christoph Hellwig 2013-12-20 05:16:39 -08:00 committed by surblazer
parent 029e019446
commit 280b400cff
1 changed files with 1 additions and 0 deletions

View File

@ -1712,6 +1712,7 @@ struct inode_operations {
int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start,
u64 len);
int (*update_time)(struct inode *, struct timespec *, int);
int (*set_acl)(struct inode *, struct posix_acl *, int);
int (*atomic_open)(struct inode *, struct dentry *,
struct file *, unsigned open_flag,
umode_t create_mode, int *opened);