diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-02 14:18:17 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-02 14:18:17 -0400 |
commit | 1330edb0bc6eeb8150822203711d393c3d5e1cb9 (patch) | |
tree | c63bc8db3879b33a975192cf815837f9ccda6121 /quick-test.c | |
parent | b21892315c8e574ef82e9ad6e7565941a9b26f87 (diff) |
sync up with kernel sources
Diffstat (limited to 'quick-test.c')
-rw-r--r-- | quick-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quick-test.c b/quick-test.c index ef12cf88..79da4856 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"); |