From 2a796d84af42403ea149d35ee5578741c5470474 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 1 Apr 2016 12:57:11 +0200 Subject: btrfs-progs: replace leafsize with nodesize Nodesize is used in kernel, the values are always equal. We have to keep leafsize in headers, similarly the tree setting functions still take and set leafsize, but it's effectively a no-op. Signed-off-by: David Sterba --- btrfs-map-logical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'btrfs-map-logical.c') diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c index 18a6acac..fd0286d5 100644 --- a/btrfs-map-logical.c +++ b/btrfs-map-logical.c @@ -81,7 +81,7 @@ again: } logical = key.objectid; if (key.type == BTRFS_METADATA_ITEM_KEY) - len = fs_info->tree_root->leafsize; + len = fs_info->tree_root->nodesize; else len = key.offset; -- cgit v1.2.3