diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:41 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:18 -0500 |
commit | 5bf3258fd2acd8515450ab8efcd97c9d3b69f7f9 (patch) | |
tree | 117a3aba664aa9859cc346bdedbaf1c54c39d7a1 /fs/gfs2/acl.c | |
parent | 2aeccbe957d0d2b9fbb2a236e53a955097e2a9ce (diff) |
fs: make posix_acl_chmod more useful
Rename the current posix_acl_chmod to __posix_acl_chmod and add
a fully featured ACL chmod helper that uses the ->set_acl inode
operation.
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/gfs2/acl.c')
-rw-r--r-- | fs/gfs2/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/acl.c b/fs/gfs2/acl.c index f69ac0af5496..3e200c7ca7ad 100644 --- a/fs/gfs2/acl.c +++ b/fs/gfs2/acl.c | |||
@@ -162,7 +162,7 @@ int gfs2_acl_chmod(struct gfs2_inode *ip, struct iattr *attr) | |||
162 | if (!acl) | 162 | if (!acl) |
163 | return gfs2_setattr_simple(inode, attr); | 163 | return gfs2_setattr_simple(inode, attr); |
164 | 164 | ||
165 | error = posix_acl_chmod(&acl, GFP_NOFS, attr->ia_mode); | 165 | error = __posix_acl_chmod(&acl, GFP_NOFS, attr->ia_mode); |
166 | if (error) | 166 | if (error) |
167 | return error; | 167 | return error; |
168 | 168 | ||