path: root/print-tree.h
diff options
authorQu Wenruo <>2018-03-30 13:48:57 +0800
committerDavid Sterba <>2018-04-24 13:00:11 +0200
commit26c1dafbf60182610744bba427583c0fdd8d0327 (patch)
tree770ca440e1ab0e415a1dc29db70209ed96f51774 /print-tree.h
parent47c694b0f4afa4fabf1a2013b9f9514a832898f7 (diff)
btrfs-progs: print-tree: Remove btrfs_root parameter
Just like kernel cleanup made by David, btrfs_print_leaf() and btrfs_print_tree() doesn't need btrfs_root parameter at all. With previous patches as preparation, now we can remove the btrfs_root parameter. Signed-off-by: Qu Wenruo <> Reviewed-by: Lu Fengqi <> Signed-off-by: David Sterba <>
Diffstat (limited to 'print-tree.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/print-tree.h b/print-tree.h
index df58b846..62667d7f 100644
--- a/print-tree.h
+++ b/print-tree.h
@@ -19,8 +19,8 @@
#ifndef __PRINT_TREE_H__
#define __PRINT_TREE_H__
-void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l);
-void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *t, int follow);
+void btrfs_print_leaf(struct extent_buffer *l);
+void btrfs_print_tree(struct extent_buffer *t, int follow);
void btrfs_print_key(struct btrfs_disk_key *disk_key);
void print_chunk_item(struct extent_buffer *eb, struct btrfs_chunk *chunk);
void print_extent_item(struct extent_buffer *eb, int slot, int metadata);