diff options
author | Christoph Hellwig | 2013-12-20 14:16:42 +0100 |
---|---|---|
committer | Al Viro | 2014-01-26 05:58:18 +0100 |
commit | 37bc15392a2363ca822b2c2828e0ccafbea32f75 (patch) | |
tree | 66ed7ab55227b74ad0af9d79bde0e95bb49e13ed /fs/ext2 | |
parent | fs: make posix_acl_chmod more useful (diff) | |
download | kernel-qcow2-linux-37bc15392a2363ca822b2c2828e0ccafbea32f75.tar.gz kernel-qcow2-linux-37bc15392a2363ca822b2c2828e0ccafbea32f75.tar.xz kernel-qcow2-linux-37bc15392a2363ca822b2c2828e0ccafbea32f75.zip |
fs: make posix_acl_create more useful
Rename the current posix_acl_created to __posix_acl_create and add
a fully featured helper to set up the ACLs on file creation that
uses get_acl().
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>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c index 7006ced45324..6e842a764ee7 100644 --- a/fs/ext2/acl.c +++ b/fs/ext2/acl.c @@ -268,7 +268,7 @@ ext2_init_acl(struct inode *inode, struct inode *dir) if (error) goto cleanup; } - error = posix_acl_create(&acl, GFP_KERNEL, &inode->i_mode); + error = __posix_acl_create(&acl, GFP_KERNEL, &inode->i_mode); if (error < 0) return error; if (error > 0) { |