Btrfs-progs: make zero-log use partial open

Because seriously, we only want to kill the tree log.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
master
Josef Bacik 2014-10-31 14:01:24 -04:00 committed by David Sterba
parent 6d6a3e7991
commit 748f4dedbb
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ int main(int ac, char **av)
goto out;
}
root = open_ctree(av[1], 0, OPEN_CTREE_WRITES);
root = open_ctree(av[1], 0, OPEN_CTREE_WRITES | OPEN_CTREE_PARTIAL);
if (root == NULL)
return 1;