diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2017-05-18 09:50:51 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-07-03 13:35:10 +0200 |
commit | 428e689b87659c7ce49111ba51c07466ca8c1e43 (patch) | |
tree | ecfe7f76e3cd2d8c5e120774bce779ea701c2c0a /print-tree.c | |
parent | 6418b4c79f2409bd851b2bf4b270d3b7b410b002 (diff) |
btrfs-progs: Refactor nodesize user in print-tree.c
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Diffstat (limited to 'print-tree.c')
-rw-r--r-- | print-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c index a0d33956..1b15640b 100644 --- a/print-tree.c +++ b/print-tree.c @@ -1297,7 +1297,7 @@ void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *eb, int fol (unsigned long long)btrfs_header_owner(eb)); print_uuids(eb); fflush(stdout); - size = root->nodesize; + size = root->fs_info->nodesize; for (i = 0; i < nr; i++) { u64 blocknr = btrfs_node_blockptr(eb, i); btrfs_node_key(eb, &disk_key, i); |