aboutsummaryrefslogtreecommitdiffstats
path: root/qgroup-verify.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-01 12:57:11 +0200
committerDavid Sterba <dsterba@suse.com>2016-05-02 14:40:18 +0200
commit2a796d84af42403ea149d35ee5578741c5470474 (patch)
tree92f7ee711ce0bdad0f563a638305985230c08495 /qgroup-verify.c
parentb005ca024990569d2de459485682158633937928 (diff)
downloadbtrfs-progs-2a796d84af42403ea149d35ee5578741c5470474.tar.gz
btrfs-progs-2a796d84af42403ea149d35ee5578741c5470474.tar.xz
btrfs-progs-2a796d84af42403ea149d35ee5578741c5470474.zip
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 <dsterba@suse.com>
Diffstat (limited to 'qgroup-verify.c')
-rw-r--r--qgroup-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qgroup-verify.c b/qgroup-verify.c
index 7e3afda..7e6349b 100644
--- a/qgroup-verify.c
+++ b/qgroup-verify.c
@@ -944,7 +944,7 @@ static int scan_extents(struct btrfs_fs_info *info,
bytenr = key.objectid;
num_bytes = key.offset;
if (key.type == BTRFS_METADATA_ITEM_KEY) {
- num_bytes = info->extent_root->leafsize;
+ num_bytes = info->extent_root->nodesize;
meta = 1;
}