mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-10 16:00:17 +00:00
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>
This commit is contained in:
parent
6d6a3e7991
commit
748f4dedbb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user