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:Josef Bacik <josef@toxicpanda.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Stable-dep-of: 44f52bbe ("btrfs: fix use-after-free when COWing tree bock and tracing is enabled") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Showing
- fs/btrfs/backref.c 3 additions, 7 deletionsfs/btrfs/backref.c
- fs/btrfs/ctree.c 12 additions, 79 deletionsfs/btrfs/ctree.c
- fs/btrfs/delayed-inode.c 0 additions, 7 deletionsfs/btrfs/delayed-inode.c
- fs/btrfs/disk-io.c 2 additions, 6 deletionsfs/btrfs/disk-io.c
- fs/btrfs/extent-tree.c 6 additions, 13 deletionsfs/btrfs/extent-tree.c
- fs/btrfs/file.c 1 addition, 2 deletionsfs/btrfs/file.c
- fs/btrfs/inode.c 0 additions, 1 deletionfs/btrfs/inode.c
- fs/btrfs/locking.c 0 additions, 74 deletionsfs/btrfs/locking.c
- fs/btrfs/locking.h 1 addition, 10 deletionsfs/btrfs/locking.h
- fs/btrfs/qgroup.c 3 additions, 6 deletionsfs/btrfs/qgroup.c
- fs/btrfs/ref-verify.c 2 additions, 4 deletionsfs/btrfs/ref-verify.c
- fs/btrfs/relocation.c 0 additions, 4 deletionsfs/btrfs/relocation.c
- fs/btrfs/transaction.c 0 additions, 2 deletionsfs/btrfs/transaction.c
- fs/btrfs/tree-defrag.c 0 additions, 1 deletionfs/btrfs/tree-defrag.c
- fs/btrfs/tree-log.c 0 additions, 3 deletionsfs/btrfs/tree-log.c
Loading
Please register or sign in to comment