]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove wake parameter from clear_state_bit()
authorFilipe Manana <fdmanana@suse.com>
Wed, 11 Mar 2026 12:50:03 +0000 (12:50 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Apr 2026 16:56:03 +0000 (18:56 +0200)
commitd110eb2f7f58c7b74c558dc922d5dae3e1b94362
tree2f7906833ca224d3dd387491a8989c020e6711e1
parent4a7ae19ca381df9b2ea2e78d31468994ab699e7e
btrfs: remove wake parameter from clear_state_bit()

There's no need to pass the 'wake' parameter, we can determine if we have
to wake up waiters by checking if EXTENT_LOCK_BITS is set in the bits to
clear. So simplify things and remove the parameter.

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/extent-io-tree.c