diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:39 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:17 -0500 |
commit | 893d46e443346370cd4ea81d9d35f72952c62a37 (patch) | |
tree | 23db81dcb225da681d41cb5af73ba2f8a7e5a53d | |
parent | 2982baa2ae31eb23ce29b688ab2f77eb019062f3 (diff) |
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>
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 121f11f001c0..09f553c59813 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1580,6 +1580,7 @@ struct inode_operations { | |||
1580 | struct file *, unsigned open_flag, | 1580 | struct file *, unsigned open_flag, |
1581 | umode_t create_mode, int *opened); | 1581 | umode_t create_mode, int *opened); |
1582 | int (*tmpfile) (struct inode *, struct dentry *, umode_t); | 1582 | int (*tmpfile) (struct inode *, struct dentry *, umode_t); |
1583 | int (*set_acl)(struct inode *, struct posix_acl *, int); | ||
1583 | } ____cacheline_aligned; | 1584 | } ____cacheline_aligned; |
1584 | 1585 | ||
1585 | ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector, | 1586 | ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector, |