From: Shawn Landen shawnland...@gmail.com
Fix creation of volumes using mkfs.btrfs on armv5.
Signed-off-by: Shawn Landen shawnland...@gmail.com
---
ctree.h | 26 --
volumes.c |5 +++--
2 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/ctree.h
---
btrfstune.c |4
1 file changed, 4 insertions(+)
diff --git a/btrfstune.c b/btrfstune.c
index 47830c5..f746e14 100644
--- a/btrfstune.c
+++ b/btrfstune.c
@@ -107,6 +107,10 @@ int main(int argc, char *argv[])
}
root = open_ctree(device, 0, 1);
+ if (!root) {
+