commit | 09870d2772b284d0061a5e4d1e1cdf6fb6764344 | [log] [tgz] |
---|---|---|
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | Tue Nov 11 07:18:22 2014 -0500 |
committer | Chris Mason <clm@fb.com> | Mon Apr 13 07:52:51 2015 -0700 |
tree | 165d3cbb7ab0be6a0c1ae1120658b31a8ad39f2b | |
parent | e2d1f92399afb6ec518b68867ed10db2585b283a [diff] |
btrfs: qgroup: return EINVAL if level of parent is not higher than child's. When we create a subvol inheriting a qgroup, we need to check the level of them. Otherwise, there is a chance a qgroup can inherit another qgroup at the same level. Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>