From: Christoph Hellwig Date: Fri, 20 Dec 2013 13:16:39 +0000 (-0800) Subject: fs: add a set_acl inode operation X-Git-Tag: v3.14-rc1~78^2~21 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=893d46e443346370cd4ea81d9d35f72952c62a37;p=users%2Fwilly%2Fxarray.git 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 Reviewed-by: Jan Kara Signed-off-by: Al Viro --- 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 { struct file *, unsigned open_flag, umode_t create_mode, int *opened); int (*tmpfile) (struct inode *, struct dentry *, umode_t); + int (*set_acl)(struct inode *, struct posix_acl *, int); } ____cacheline_aligned; ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,