diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-06-24 18:18:14 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-09 14:04:25 -0700 |
commit | 34e6d456da4a61f655655a6d431657da5753913f (patch) | |
tree | a1c09b87b13e7210831cbbe0476341caa03aabe7 /fs/f2fs | |
parent | 1256010ab1a372c8ffc01fc37ff767d8bc15378b (diff) | |
download | op-kernel-dev-34e6d456da4a61f655655a6d431657da5753913f.zip op-kernel-dev-34e6d456da4a61f655655a6d431657da5753913f.tar.gz |
f2fs: remove the redundant validation check of acl
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>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/acl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c index dbe2141..83b9b5a 100644 --- 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; |