commit | a9b1fc851db054ddec703dc7951ed00620600b26 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Wed Aug 31 16:43:33 2016 -0700 |
committer | David Sterba <dsterba@suse.com> | Thu Sep 01 17:16:47 2016 +0200 |
tree | a1a6ffb52cf194aa5593f848a665ae9bf7fa4c5f | |
parent | 3dc09ec895f098cedd789a620c90ff1bf7f779a1 [diff] |
Btrfs: fix endless loop in balancing block groups Qgroup function may overwrite the saved error 'err' with 0 in case quota is not enabled, and this ends up with a endless loop in balance because we keep going back to balance the same block group. It really should use 'ret' instead. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>