Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Al Viro
893d46e4 2982baa2

+1
+1
include/linux/fs.h
··· 1580 1580 struct file *, unsigned open_flag, 1581 1581 umode_t create_mode, int *opened); 1582 1582 int (*tmpfile) (struct inode *, struct dentry *, umode_t); 1583 + int (*set_acl)(struct inode *, struct posix_acl *, int); 1583 1584 } ____cacheline_aligned; 1584 1585 1585 1586 ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,