From 1330edb0bc6eeb8150822203711d393c3d5e1cb9 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Mon, 2 Apr 2007 14:18:17 -0400 Subject: sync up with kernel sources --- quick-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quick-test.c') diff --git a/quick-test.c b/quick-test.c index ef12cf8..79da485 100644 --- a/quick-test.c +++ b/quick-test.c @@ -30,7 +30,7 @@ int main(int ac, char **av) { radix_tree_init(); - root = open_ctree("dbfile", &super); + root = open_ctree(av[1], &super); trans = btrfs_start_transaction(root, 1); srand(55); ins.flags = 0; @@ -51,9 +51,9 @@ int main(int ac, char **av) { if (i == run_size - 5) { btrfs_commit_transaction(trans, root, &super); } - } close_ctree(root, &super); + exit(1); root = open_ctree("dbfile", &super); printf("starting search\n"); -- cgit v1.2.1