aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-21 19:16:27 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:15 +0200
commit4b231ae47417d47a6bafab92b452ad629acdacb0 (patch)
treed2218982370a75e49c30eb274ac450320c612de0 /fs/btrfs/ctree.h
parentbtrfs: move private raid56 definitions from ctree.h (diff)
downloadlinux-dev-4b231ae47417d47a6bafab92b452ad629acdacb0.tar.xz
linux-dev-4b231ae47417d47a6bafab92b452ad629acdacb0.zip
btrfs: rename and export read_node_slot
Preparatory work for code that will be moved out of ctree and uses this function. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 07c08831d6e7..dc465df47b32 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2587,6 +2587,9 @@ int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
struct btrfs_path *path,
u64 min_trans);
+struct extent_buffer *btrfs_read_node_slot(struct extent_buffer *parent,
+ int slot);
+
enum btrfs_compare_tree_result {
BTRFS_COMPARE_TREE_NEW,
BTRFS_COMPARE_TREE_DELETED,