projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1256010
)
f2fs: remove the redundant validation check of acl
author
Gu Zheng
<guz.fnst@cn.fujitsu.com>
Tue, 24 Jun 2014 10:18:14 +0000
(18:18 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 9 Jul 2014 21:04:25 +0000
(14:04 -0700)
kernel side(xx_init_acl), the acl is get/cloned from the parent dir's,
which is credible. So remove the redundant validation check of acl
here.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/acl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/acl.c
b/fs/f2fs/acl.c
index dbe2141d10ad7d77e67804ec3a8ee0e843a71486..83b9b5a8d11203d2a2f6749a2841d0473752a5a2 100644
(file)
--- a/
fs/f2fs/acl.c
+++ b/
fs/f2fs/acl.c
@@
-203,12
+203,6
@@
static int __f2fs_set_acl(struct inode *inode, int type,
size_t size = 0;
int error;
- if (acl) {
- error = posix_acl_valid(acl);
- if (error < 0)
- return error;
- }
-
switch (type) {
case ACL_TYPE_ACCESS:
name_index = F2FS_XATTR_INDEX_POSIX_ACL_ACCESS;