]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make device add compatible with paused balance in btrfs_exclop_start_try_lock
authorNikolay Borisov <nborisov@suse.com>
Thu, 25 Nov 2021 09:14:42 +0000 (11:14 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 13:18:23 +0000 (14:18 +0100)
commit1766f7c4e8054e0f7a834766b9793c4b4463c4d2
tree17dd94fe739da8b2244df168c4097805ef5e07c1
parent11a02b4fdf180666354ec28d2a0a6f78cc936958
btrfs: make device add compatible with paused balance in btrfs_exclop_start_try_lock

This is needed to enable device add to work in cases when a file system
has been mounted with 'skip_balance' mount option.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c