Skip to content
Snippets Groups Projects
Commit 1817e3e8 authored by Josef Bacik's avatar Josef Bacik Committed by Greg Kroah-Hartman
Browse files

btrfs: locking: remove all the blocking helpers


[ Upstream commit ac5887c8 ]

Now that we're using a rw_semaphore we no longer need to indicate if a
lock is blocking or not, nor do we need to flip the entire path from
blocking to spinning.  Remove these helpers and all the places they are
called.

Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Stable-dep-of: 44f52bbe ("btrfs: fix use-after-free when COWing tree bock and tracing is enabled")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4da6be8e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment