Btrfs: Check validity before setting an acl
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 13 Apr 2011 06:07:59 +0000 (14:07 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 13 Apr 2011 06:25:35 +0000 (14:25 +0800)
commit329c5056be8774255db04b01242a9ff4f02eb8ea
treea0aa0ebeb00644833b54df6274058c5a2aa8b7c4
parent3153495d8ed6a9bb9f00aea42c18dc488a885dd6
Btrfs: Check validity before setting an acl

Call posix_acl_valid() to check if an acl is valid or not.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/acl.c