summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2008-11-20 09:52:48 -0500
committerChris Mason <chris.mason@oracle.com>2008-11-20 09:52:48 -0500
commitaa62e84c84436593edb56c9b9c61fa701c69f80e (patch)
tree41d06e2caee4af7a1d8933d9481f80c95a84acf0 /print-tree.c
parent49bc666d5fcedc7221eeeef0499e21a45c3ca4ad (diff)
Btrfs image tool
This patch adds btrfs image tool. The image tool is a debugging tool that creates/restores btrfs metadump image. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-tree.c b/print-tree.c
index eac4d52a..114564ad 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -132,9 +132,9 @@ static void print_file_extent_item(struct extent_buffer *eb,
if (extent_type == BTRFS_FILE_EXTENT_INLINE) {
printf("\t\tinline extent data size %u "
- "ram %llu compress %d\n",
- btrfs_file_extent_inline_len(eb, item),
- (unsigned long long) btrfs_file_extent_ram_bytes(eb, fi),
+ "ram %u compress %d\n",
+ btrfs_file_extent_inline_item_len(eb, item),
+ btrfs_file_extent_inline_len(eb, fi),
btrfs_file_extent_compression(eb, fi));
return;
}