]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
fs: add a set_acl inode operation
authorChristoph Hellwig <hch@infradead.org>
Fri, 20 Dec 2013 13:16:39 +0000 (05:16 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2014 04:58:17 +0000 (23:58 -0500)
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>
include/linux/fs.h

index 121f11f001c06f1cdcdeb6533234d76626a2915b..09f553c59813a2b2f88991ab0ab854880e07e574 100644 (file)
@@ -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,