]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove lock protection for BLOCK_GROUP_FLAG_RELOCATING_REPAIR
authorJosef Bacik <josef@toxicpanda.com>
Fri, 15 Jul 2022 19:45:28 +0000 (15:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:54 +0000 (12:27 +0200)
commit7ab2f6c567b4ad0fcb35436a634b7c87f4079bb1
treec598296ebdd47cbce1760e37f12aeb2e5d6b460a
parent27084fe45213785506cb5f0ab88c77594067c737
btrfs: remove lock protection for BLOCK_GROUP_FLAG_RELOCATING_REPAIR

Before when this was modifying the bit field we had to protect it with
the bg->lock, however now we're using bit helpers so we can stop
using the bg->lock.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c