aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/print-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/print-tree.h')
-rw-r--r--fs/btrfs/print-tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/print-tree.h b/fs/btrfs/print-tree.h
index e6bb38fd75ad..78b99385a503 100644
--- a/fs/btrfs/print-tree.h
+++ b/fs/btrfs/print-tree.h
@@ -6,7 +6,11 @@
#ifndef BTRFS_PRINT_TREE_H
#define BTRFS_PRINT_TREE_H
+/* Buffer size to contain tree name and possibly additional data (offset) */
+#define BTRFS_ROOT_NAME_BUF_LEN 48
+
void btrfs_print_leaf(struct extent_buffer *l);
void btrfs_print_tree(struct extent_buffer *c, bool follow);
+const char *btrfs_root_name(u64 objectid, char *buf);
#endif