From 0938d24ea19009e72b893c9298deb3c46499466f Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 19 Jun 2013 12:11:34 +0100 Subject: [PATCH] Take held root support out of thin_dump. Temporary, just to get things building. --- thin-provisioning/thin_dump.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/thin-provisioning/thin_dump.cc b/thin-provisioning/thin_dump.cc index 8c656c2..7836377 100644 --- a/thin-provisioning/thin_dump.cc +++ b/thin-provisioning/thin_dump.cc @@ -34,9 +34,7 @@ namespace { int dump(string const &path, string const &format, bool repair, block_address metadata_snap = 0) { try { - metadata::ptr md(metadata_snap ? - new metadata(path, metadata_snap) : - new metadata(path, metadata::OPEN)); + metadata::ptr md(new metadata(path, metadata::OPEN)); emitter::ptr e; if (format == "xml")