diff options
Diffstat (limited to 'fs/hfsplus/posix_acl.c')
-rw-r--r-- | fs/hfsplus/posix_acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/posix_acl.c b/fs/hfsplus/posix_acl.c index df0c9af68d05..71b3087b7e32 100644 --- a/fs/hfsplus/posix_acl.c +++ b/fs/hfsplus/posix_acl.c | |||
@@ -68,8 +68,8 @@ int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl, | |||
68 | case ACL_TYPE_ACCESS: | 68 | case ACL_TYPE_ACCESS: |
69 | xattr_name = POSIX_ACL_XATTR_ACCESS; | 69 | xattr_name = POSIX_ACL_XATTR_ACCESS; |
70 | if (acl) { | 70 | if (acl) { |
71 | err = posix_acl_equiv_mode(acl, &inode->i_mode); | 71 | err = posix_acl_update_mode(inode, &inode->i_mode, &acl); |
72 | if (err < 0) | 72 | if (err) |
73 | return err; | 73 | return err; |
74 | } | 74 | } |
75 | err = 0; | 75 | err = 0; |