diff options
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/acl.c b/fs/jffs2/acl.c index 223283c30111..5853969a51bc 100644 --- a/fs/jffs2/acl.c +++ b/fs/jffs2/acl.c | |||
@@ -335,7 +335,7 @@ int jffs2_acl_chmod(struct inode *inode) | |||
335 | acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS); | 335 | acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS); |
336 | if (IS_ERR(acl) || !acl) | 336 | if (IS_ERR(acl) || !acl) |
337 | return PTR_ERR(acl); | 337 | return PTR_ERR(acl); |
338 | rc = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); | 338 | rc = __posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); |
339 | if (rc) | 339 | if (rc) |
340 | return rc; | 340 | return rc; |
341 | rc = jffs2_set_acl(inode, ACL_TYPE_ACCESS, acl); | 341 | rc = jffs2_set_acl(inode, ACL_TYPE_ACCESS, acl); |