summaryrefslogtreecommitdiff
path: root/fs/btrfs/uuid-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-01-24 19:23:11 +0300
committerDavid Sterba <dsterba@suse.com>2024-03-04 18:24:48 +0300
commit53e4d8c29095f169be2b1593bff8e4feb44ce94e (patch)
treed147ae83fe5e4ea3552d21027110797f6df57690 /fs/btrfs/uuid-tree.c
parent3e1d51dd3dc0e93e34b0c0200cc054dff55b9514 (diff)
downloadlinux-53e4d8c29095f169be2b1593bff8e4feb44ce94e.tar.xz
btrfs: change BUG_ON to assertion in reset_balance_state()
The balance state machine is complex so it's good to verify the assumptions in helpers, however reset_balance_state() is used at the end of balance and fs_info::balance_ctl is properly set up before and protected by the exclusive op ownership in btrfs_balance(). Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/uuid-tree.c')
0 files changed, 0 insertions, 0 deletions