forked from Mirrors/btrfs-progs
btrfs-progs: pretty print key in extent_item
Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>master
parent
6500965277
commit
bc130ecd02
|
@ -205,11 +205,9 @@ static void print_extent_item(struct extent_buffer *eb, int slot)
|
||||||
struct btrfs_tree_block_info *info;
|
struct btrfs_tree_block_info *info;
|
||||||
info = (struct btrfs_tree_block_info *)(ei + 1);
|
info = (struct btrfs_tree_block_info *)(ei + 1);
|
||||||
btrfs_tree_block_key(eb, info, &key);
|
btrfs_tree_block_key(eb, info, &key);
|
||||||
printf("\t\ttree block key (%llu %x %llu) level %d\n",
|
printf("\t\ttree block ");
|
||||||
(unsigned long long)btrfs_disk_key_objectid(&key),
|
btrfs_print_key(&key);
|
||||||
key.type,
|
printf(" level %d\n", btrfs_tree_block_level(eb, info));
|
||||||
(unsigned long long)btrfs_disk_key_offset(&key),
|
|
||||||
btrfs_tree_block_level(eb, info));
|
|
||||||
iref = (struct btrfs_extent_inline_ref *)(info + 1);
|
iref = (struct btrfs_extent_inline_ref *)(info + 1);
|
||||||
} else {
|
} else {
|
||||||
iref = (struct btrfs_extent_inline_ref *)(ei + 1);
|
iref = (struct btrfs_extent_inline_ref *)(ei + 1);
|
||||||
|
|
Loading…
Reference in New Issue