Btrfs: Fix BTRFS_IOC_SUBVOL_SETFLAGS ioctl
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 16 Feb 2011 06:06:34 +0000 (06:06 +0000)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Feb 2011 20:37:58 +0000 (15:37 -0500)
- Check user-specified flags correctly
- Check the inode owership
- Search root item in root tree but not fs tree

Reported-by: Dan Rosenberg <drosenberg@vsecurity.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found