Because seriously, we only want to kill the tree log. Thanks,
Signed-off-by: Josef Bacik <[email protected]>
---
btrfs-zero-log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html