mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-11 16:29:42 +00:00
btrfs_print_node: don't use btrfs_item_key_to_cpu on nodes
This commit is contained in:
parent
806528b875
commit
ba1efed418
@ -227,7 +227,7 @@ void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *eb)
|
||||
size = btrfs_level_size(root, btrfs_header_level(eb) - 1);
|
||||
for (i = 0; i < nr; i++) {
|
||||
u64 blocknr = btrfs_node_blockptr(eb, i);
|
||||
btrfs_item_key_to_cpu(eb, &key, i);
|
||||
btrfs_node_key_to_cpu(eb, &key, i);
|
||||
printf("\tkey %d (%llu %x %llu) block %llu (%llu) gen %llu\n",
|
||||
i,
|
||||
(unsigned long long)key.objectid,
|
||||
|
Loading…
Reference in New Issue
Block a user