Re: [PATCH 09/16] btrfs: cleanup helpers that reset balance state

2018-04-09 Thread Anand Jain
On 04/04/2018 02:34 AM, David Sterba wrote: The function __cancel_balance name is confusing with the cancel operation of balance and it really resets the state of balance back to zero. The unset_balance_control helper is called only from one place and simple enough to be inlined.

[PATCH 09/16] btrfs: cleanup helpers that reset balance state

2018-04-03 Thread David Sterba
The function __cancel_balance name is confusing with the cancel operation of balance and it really resets the state of balance back to zero. The unset_balance_control helper is called only from one place and simple enough to be inlined. Signed-off-by: David Sterba ---