]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: locking: remove all the blocking helpers
authorJosef Bacik <josef@toxicpanda.com>
Thu, 20 Aug 2020 15:46:10 +0000 (11:46 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:01 +0000 (15:54 +0100)
commitdabddcf7baff6dc9e64fd8c23f650254141f2cb5
treefa8e936af2eaf48321a72e6498c02280235b964c
parent903883b1ad20d01b46e34dc25963b77f570d5f99
btrfs: locking: remove all the blocking helpers

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: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
15 files changed:
fs/btrfs/backref.c
fs/btrfs/ctree.c
fs/btrfs/delayed-inode.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/locking.c
fs/btrfs/locking.h
fs/btrfs/qgroup.c
fs/btrfs/ref-verify.c
fs/btrfs/relocation.c
fs/btrfs/transaction.c
fs/btrfs/tree-defrag.c
fs/btrfs/tree-log.c