summaryrefslogtreecommitdiff
path: root/quick-test.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-14 14:14:43 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-14 14:14:43 -0400
commit7a0a809b4cde0ff1712579e403d85c095b48905f (patch)
tree5fd9dec1f93f34424a7b4300fc46f4d413b8e3f0 /quick-test.c
parent942050de0e7cd8ba5fbe312659a8824e0b8ee9ba (diff)
variable block size support
Diffstat (limited to 'quick-test.c')
-rw-r--r--quick-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quick-test.c b/quick-test.c
index 66bdc579..d9287cad 100644
--- a/quick-test.c
+++ b/quick-test.c
@@ -73,7 +73,7 @@ int main(int ac, char **av) {
printf("node %p level %d total ptrs %d free spc %lu\n", root->node,
btrfs_header_level(&root->node->node.header),
btrfs_header_nritems(&root->node->node.header),
- NODEPTRS_PER_BLOCK -
+ BTRFS_NODEPTRS_PER_BLOCK(root) -
btrfs_header_nritems(&root->node->node.header));
printf("all searches good, deleting some items\n");
i = 0;