f2fs: remove the redundant validation check of acl
Subsystems (2)
PATCH 1/4 f2fs: remove the redundant validation check of acl
Quoted 1 line
From the userspace side, VFS layer does the check; and from the
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 <[email protected]>
--- fs/f2fs/acl.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
fs/f2fs/acl.c +0 -6
@@ -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 ;
Signature · 1 line
1.7.7