diff options
Diffstat (limited to 'fs/ocfs2/acl.c')
-rw-r--r-- | fs/ocfs2/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/acl.c b/fs/ocfs2/acl.c index b4f788e0ca31..73ccf0e22ec5 100644 --- a/fs/ocfs2/acl.c +++ b/fs/ocfs2/acl.c | |||
@@ -350,7 +350,7 @@ int ocfs2_acl_chmod(struct inode *inode) | |||
350 | acl = ocfs2_get_acl(inode, ACL_TYPE_ACCESS); | 350 | acl = ocfs2_get_acl(inode, ACL_TYPE_ACCESS); |
351 | if (IS_ERR(acl) || !acl) | 351 | if (IS_ERR(acl) || !acl) |
352 | return PTR_ERR(acl); | 352 | return PTR_ERR(acl); |
353 | ret = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); | 353 | ret = __posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); |
354 | if (ret) | 354 | if (ret) |
355 | return ret; | 355 | return ret; |
356 | ret = ocfs2_set_acl(NULL, inode, NULL, ACL_TYPE_ACCESS, | 356 | ret = ocfs2_set_acl(NULL, inode, NULL, ACL_TYPE_ACCESS, |