commit | 149196a2aea682ec9d7d50ec00d779a380deb7aa | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Mar 20 20:23:09 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:07:25 2018 +0200 |
tree | e5dba952b8880f688563a3ca3299f77ba12979e7 | |
parent | eee95e3fb0c3bcda4e85fc219964f2f69a218f03 [diff] |
btrfs: cleanup helpers that reset balance state 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. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>