Skip to content
Commit a9870c0e authored by Wang Shilong's avatar Wang Shilong Committed by Josef Bacik
Browse files

Btrfs: don't call btrfs_qgroup_free if just btrfs_qgroup_reserve fails



commit eb6b88d9 leads into another bug.
If it is just because qgroup_reserve fails, the function btrfs_qgroup_free
should not be called, otherwise, it will cause the wrong quota accounting.

Signed-off-by: default avatarWang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 235fdb8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment