diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-02-16 07:06:34 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-16 21:37:58 +0100 |
commit | b4dc2b8c694ead005b828f5fb7fa1134db5b6275 (patch) | |
tree | ba01c2bb5381ab9a34c4152ed4dd83c1797f780c /fs/btrfs/volumes.c | |
parent | Btrfs: allow balance to explicitly allocate chunks as it relocates (diff) | |
download | linux-b4dc2b8c694ead005b828f5fb7fa1134db5b6275.tar.xz linux-b4dc2b8c694ead005b828f5fb7fa1134db5b6275.zip |
Btrfs: Fix BTRFS_IOC_SUBVOL_SETFLAGS ioctl
- 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>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions