f2fs: check the acl's validity before setting
authorZhangZhen <zhenzhang.zhang@huawei.com>
Fri, 4 Apr 2014 01:47:16 +0000 (09:47 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 7 Apr 2014 03:18:30 +0000 (12:18 +0900)
commit3a8861e2715e3b985bfaac43bcdfcfebe9b423cb
tree270d3c32b81c3bc2321b1d21a8162abe6c586d28
parent6b4afdd794783fe515b50838aa36591e3feea990
f2fs: check the acl's validity before setting

Before setting the acl, call posix_acl_valid() to check if it is
valid or not.

Signed-off-by: zhangzhen <zhenzhang.zhang@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/acl.c