diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c index dbe2141d10ad7d77e67804ec3a8ee0e843a71486..83b9b5a8d11203d2a2f6749a2841d0473752a5a2 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;