diff options
author | Wang Shilong <wangsl-fnst@cn.fujitsu.com> | 2013-04-08 12:56:22 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 21:54:41 +0200 |
commit | 92f183aa5b8a8655431583e4c53e80fa3e0070e5 (patch) | |
tree | b46918ae6c8d1ab626c804603d11abc5e9628548 /fs/btrfs/backref.c | |
parent | Btrfs: fix a warning when updating qgroup limit (diff) | |
download | linux-92f183aa5b8a8655431583e4c53e80fa3e0070e5.tar.xz linux-92f183aa5b8a8655431583e4c53e80fa3e0070e5.zip |
Btrfs: use tree_root to avoid edquot when disabling quota
Steps to reproduce:
mkfs.btrfs <disk>
mount <disk> <mnt>
btrfs quota enable <mnt>
btrfs sub create <mnt>/subv
btrfs qgroup limit 10K <mnt>/subv
btrfs quota disable <mnt>/subv
It is wrong for qgroup to reserve when disabling quota,
so just use tree_root to avoid edquot when disabling quota.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions