projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx4: Fix firmware command timeout during interrupt test
[cascardo/linux.git]
/
fs
/
hfsplus
/
posix_acl.c
diff --git
a/fs/hfsplus/posix_acl.c
b/fs/hfsplus/posix_acl.c
index
ab7ea25
..
9b92058
100644
(file)
--- a/
fs/hfsplus/posix_acl.c
+++ b/
fs/hfsplus/posix_acl.c
@@
-65,8
+65,8
@@
int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
case ACL_TYPE_ACCESS:
xattr_name = XATTR_NAME_POSIX_ACL_ACCESS;
if (acl) {
- err = posix_acl_
equiv_mode(acl, &inode->i_mode
);
- if (err
< 0
)
+ err = posix_acl_
update_mode(inode, &inode->i_mode, &acl
);
+ if (err)
return err;
}
err = 0;