diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2016-08-29 16:09:00 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-09-05 10:04:07 +0200 |
commit | 00045ff485ae7bb8f784f2b7dd523c9fb2080ec5 (patch) | |
tree | 204a16212965127afc43b0cf2db1cd85478a1226 /print-tree.h | |
parent | 7aafabd2b8ac17645fb58bd27cfe238ed2908c1a (diff) |
btrfs-progs: Enhance and export print_key_type function
Just the same thing done for print_objectid().
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'print-tree.h')
-rw-r--r-- | print-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/print-tree.h b/print-tree.h index 73fb3e8e..9865500b 100644 --- a/print-tree.h +++ b/print-tree.h @@ -25,4 +25,5 @@ void btrfs_print_key(struct btrfs_disk_key *disk_key); void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk); void print_extent_item(struct extent_buffer *eb, int slot, int metadata); void print_objectid(FILE *stream, u64 objectid, u8 type); +void print_key_type(FILE *stream, u64 objectid, u8 type); #endif |