diff options
author | Yang Dongsheng <yangds.fnst@cn.fujitsu.com> | 2015-01-06 13:54:42 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-01-22 03:22:37 +0100 |
commit | 0ee13fe28ce387864c0d2b1e8c52b64abe2fcd02 (patch) | |
tree | 3d0d556d357af39c09a21eef88eb0b11deece387 /firmware/yamaha | |
parent | Btrfs: cleanup unused run_most (diff) | |
download | linux-0ee13fe28ce387864c0d2b1e8c52b64abe2fcd02.tar.xz linux-0ee13fe28ce387864c0d2b1e8c52b64abe2fcd02.zip |
btrfs: qgroup: move WARN_ON() to the correct location.
In function qgroup_excl_accounting(), we need to WARN when
qg->excl is less than what we want to free, same to child
and parents. But currently, for parent qgroup, the WARN_ON()
is located after freeing qg->excl. It will WARN out even we
free it normally.
This patch move this WARN_ON() before freeing qg->excl.
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions