diff options
Diffstat (limited to 'fs/generic_acl.c')
-rw-r--r-- | fs/generic_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/generic_acl.c b/fs/generic_acl.c index b3f3676796d3..46a5076e9776 100644 --- a/fs/generic_acl.c +++ b/fs/generic_acl.c | |||
@@ -158,7 +158,7 @@ generic_acl_chmod(struct inode *inode) | |||
158 | return -EOPNOTSUPP; | 158 | return -EOPNOTSUPP; |
159 | acl = get_cached_acl(inode, ACL_TYPE_ACCESS); | 159 | acl = get_cached_acl(inode, ACL_TYPE_ACCESS); |
160 | if (acl) { | 160 | if (acl) { |
161 | error = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); | 161 | error = __posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); |
162 | if (error) | 162 | if (error) |
163 | return error; | 163 | return error; |
164 | set_cached_acl(inode, ACL_TYPE_ACCESS, acl); | 164 | set_cached_acl(inode, ACL_TYPE_ACCESS, acl); |