aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2022-11-04 14:12:35 +0000
committerDavid Sterba <[email protected]>2022-11-07 13:35:25 +0000
commitc62f6bec53e63b11112e1ebce6bbaa39ce6f6706 (patch)
tree9dd5189d111a2b43d19f54478df717662162efe1 /drivers/net/wan/lapbether.c
parentbtrfs: zoned: initialize device's zone info for seeding (diff)
downloadkernel-c62f6bec53e63b11112e1ebce6bbaa39ce6f6706.tar.gz
kernel-c62f6bec53e63b11112e1ebce6bbaa39ce6f6706.zip
btrfs: zoned: fix locking imbalance on scrub
If we're doing device replace on a zoned filesystem and discover in scrub_enumerate_chunks() that we don't have to copy the block group it is unlocked before it gets skipped. But as the block group hasn't yet been locked before it leads to a locking imbalance. To fix this simply remove the unlock. This was uncovered by fstests' testcase btrfs/163. Fixes: 9283b9e09a6d ("btrfs: remove lock protection for BLOCK_GROUP_FLAG_TO_COPY") Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions