diff options
author | David Sterba <dsterba@suse.com> | 2018-03-20 17:28:05 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:24 +0200 |
commit | a17c95df4cc8ade4e0e7276a04c0cc89505c74d7 (patch) | |
tree | 8176d351a07df707917f417278ab23cda83dd711 /fs/btrfs/ioctl.c | |
parent | 72b81abf95ae8d2c78c5f38197f47597cf192d2b (diff) | |
download | talos-op-linux-a17c95df4cc8ade4e0e7276a04c0cc89505c74d7.tar.gz talos-op-linux-a17c95df4cc8ade4e0e7276a04c0cc89505c74d7.zip |
btrfs: move clearing of EXCL_OP out of __cancel_balance
Make the clearning visible in the callers so we can pair it with the
test_and_set part.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 937afa8e1613..f0d0aef3826a 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -4462,7 +4462,7 @@ do_balance: * Ownership of bctl and filesystem flag BTRFS_FS_EXCL_OP * goes to to btrfs_balance. bctl is freed in __cancel_balance, * or, if restriper was paused all the way until unmount, in - * free_fs_info. The flag is cleared in __cancel_balance. + * free_fs_info. The flag should be cleared after __cancel_balance. */ need_unlock = false; |