diff options
author | David Sterba <dsterba@suse.com> | 2019-08-21 19:16:27 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:15 +0200 |
commit | 4b231ae47417d47a6bafab92b452ad629acdacb0 (patch) | |
tree | d2218982370a75e49c30eb274ac450320c612de0 /fs/btrfs/ctree.h | |
parent | 8a953348afdd75f45d75e5ff489876fe88f3731d (diff) | |
download | lwn-4b231ae47417d47a6bafab92b452ad629acdacb0.tar.gz lwn-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.h | 3 |
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, |