aboutsummaryrefslogtreecommitdiffstats
path: root/random-test.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-12 12:01:18 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-12 12:01:18 -0400
commit8e17fab249e8541a57558c30e3b6ed8dc3ce0738 (patch)
tree9b091edebf73324e577c2675b002af2df35a28da /random-test.c
parent2db1ff357094670bafa1cfecffd6e2bda8e9d9fc (diff)
downloadbtrfs-progs-8e17fab249e8541a57558c30e3b6ed8dc3ce0738.tar.gz
btrfs-progs-8e17fab249e8541a57558c30e3b6ed8dc3ce0738.tar.xz
btrfs-progs-8e17fab249e8541a57558c30e3b6ed8dc3ce0738.zip
get/set for struct header fields
Diffstat (limited to 'random-test.c')
-rw-r--r--random-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/random-test.c b/random-test.c
index 7b37b6b..5d99b73 100644
--- a/random-test.c
+++ b/random-test.c
@@ -358,8 +358,8 @@ int main(int ac, char **av)
}
if (i && i % 5000 == 0) {
printf("open & close, root level %d nritems %d\n",
- node_level(root->node->node.header.flags),
- root->node->node.header.nritems);
+ btrfs_header_level(&root->node->node.header),
+ btrfs_header_nritems(&root->node->node.header));
close_ctree(root, &super);
root = open_ctree("dbfile", &super);
}