diff options
author | 2018-03-20 20:23:09 +0100 | |
---|---|---|
committer | 2018-05-28 18:07:25 +0200 | |
commit | 149196a2aea682ec9d7d50ec00d779a380deb7aa (patch) | |
tree | e5dba952b8880f688563a3ca3299f77ba12979e7 /fs/btrfs/dev-replace.c | |
parent | btrfs: add sanity check when resuming balance after mount (diff) | |
download | wireguard-linux-149196a2aea682ec9d7d50ec00d779a380deb7aa.tar.xz wireguard-linux-149196a2aea682ec9d7d50ec00d779a380deb7aa.zip |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions