summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2017-05-18 11:11:55 +0800
committerDavid Sterba <dsterba@suse.com>2017-07-03 13:35:11 +0200
commit9f6dec4dd5d929b12dfca2947116b203b833fa8a (patch)
treee8ed274113f52a285dfacb546424111796f57929 /ctree.h
parent8690c887d1dcad384d44ca21bf950a4ec2fbffdb (diff)
btrfs-progs: Refactor read_node_slot function to get rid of btrfs_root
parameter Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctree.h b/ctree.h
index 602c9562..cf337ae5 100644
--- a/ctree.h
+++ b/ctree.h
@@ -2533,7 +2533,7 @@ btrfs_check_leaf(struct btrfs_root *root, struct btrfs_disk_key *parent_key,
struct extent_buffer *buf);
void reada_for_search(struct btrfs_root *root, struct btrfs_path *path,
int level, int slot, u64 objectid);
-struct extent_buffer *read_node_slot(struct btrfs_root *root,
+struct extent_buffer *read_node_slot(struct btrfs_fs_info *fs_info,
struct extent_buffer *parent, int slot);
int btrfs_previous_item(struct btrfs_root *root,
struct btrfs_path *path, u64 min_objectid,