]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: update check_skip variable after unlocking current node
authorFilipe Manana <fdmanana@suse.com>
Thu, 13 Nov 2025 12:07:14 +0000 (12:07 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:42:25 +0000 (22:42 +0100)
commitc2b2504ece4089697bb7db115dc91e344dfed76f
tree540e16bb5c5eb8808280bf8368cfffb0ef4c8832
parent5d8222a50ad37c98455da08b33ce49fe6b726c72
btrfs: update check_skip variable after unlocking current node

There's no need to update the local variable 'check_skip' to false inside
the critical section delimited by the lock of the current node, so do it
after unlocking the node.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c