diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 13:16:42 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-26 04:58:18 (GMT) |
commit | 37bc15392a2363ca822b2c2828e0ccafbea32f75 (patch) | |
tree | 66ed7ab55227b74ad0af9d79bde0e95bb49e13ed /fs/hfsplus/posix_acl.c | |
parent | 5bf3258fd2acd8515450ab8efcd97c9d3b69f7f9 (diff) | |
download | linux-37bc15392a2363ca822b2c2828e0ccafbea32f75.tar.xz |
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/hfsplus/posix_acl.c')
-rw-r--r-- | fs/hfsplus/posix_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/posix_acl.c b/fs/hfsplus/posix_acl.c index cab5fd6..277942f 100644 --- a/fs/hfsplus/posix_acl.c +++ b/fs/hfsplus/posix_acl.c @@ -137,7 +137,7 @@ int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir) goto init_acl_cleanup; } - err = posix_acl_create(&acl, GFP_NOFS, &inode->i_mode); + err = __posix_acl_create(&acl, GFP_NOFS, &inode->i_mode); if (unlikely(err < 0)) return err; |