Message ID | 1414778489-4049-7-git-send-email-jbacik@fb.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/btrfs-zero-log.c b/btrfs-zero-log.c index 88998e9..46c705c 100644 --- a/btrfs-zero-log.c +++ b/btrfs-zero-log.c @@ -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;
Because seriously, we only want to kill the tree log. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> --- btrfs-zero-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)