summaryrefslogtreecommitdiff
path: root/fs/btrfs/locking.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-11-07 00:27:34 +0300
committerDavid Sterba <dsterba@suse.com>2020-12-08 17:54:09 +0300
commitfe596ca3d3b5b005d940a20ee30a6f1c13dd2d19 (patch)
treeed7f50e7b70a50e656da00739c225a3ccd8da115 /fs/btrfs/locking.h
parent1bb96598410ccd52f4224e5584b8015c6d61b81f (diff)
downloadlinux-fe596ca3d3b5b005d940a20ee30a6f1c13dd2d19.tar.xz
btrfs: use btrfs_tree_read_lock in btrfs_search_slot
We no longer use recursion, so __btrfs_tree_read_lock(BTRFS_NESTING_NORMAL) == btrfs_tree_read_lock. Replace this call with the simple helper. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.h')
0 files changed, 0 insertions, 0 deletions