If there are errors when opening the fs because of PARTIAL we could think that
the zero-log didn't actually work.  Add a printf so we know that it was
successfull.  Thanks,

Signed-off-by: Josef Bacik <[email protected]>
---
 btrfs-zero-log.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/btrfs-zero-log.c b/btrfs-zero-log.c
index 46c705c..4154175 100644
--- a/btrfs-zero-log.c
+++ b/btrfs-zero-log.c
@@ -71,6 +71,7 @@ int main(int ac, char **av)
        btrfs_set_super_log_root_level(root->fs_info->super_copy, 0);
        btrfs_commit_transaction(trans, root);
        close_ctree(root);
+       printf("Log root zero'ed\n");
 out:
        return !!ret;
 }
-- 
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

Reply via email to