Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
fs
/
f2fs
/
acl.c
diff --git
a/kernel/fs/f2fs/acl.c
b/kernel/fs/f2fs/acl.c
index
c8f25f7
..
e9a8d67
100644
(file)
--- a/
kernel/fs/f2fs/acl.c
+++ b/
kernel/fs/f2fs/acl.c
@@
-214,12
+214,10
@@
static int __f2fs_set_acl(struct inode *inode, int type,
case ACL_TYPE_ACCESS:
name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS;
if (acl) {
case ACL_TYPE_ACCESS:
name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS;
if (acl) {
- error = posix_acl_
equiv_mode(acl, &inode->i_mode
);
- if (error
< 0
)
+ error = posix_acl_
update_mode(inode, &inode->i_mode, &acl
);
+ if (error)
return error;
set_acl_inode(fi, inode->i_mode);
return error;
set_acl_inode(fi, inode->i_mode);
- if (error == 0)
- acl = NULL;
}
break;
}
break;