[thin_check] Start refactoring metadata_checker.

This commit is contained in:
Joe Thornber
2013-04-23 15:21:44 +01:00
parent 70fd048426
commit 20ff78c818
12 changed files with 302 additions and 123 deletions

View File

@@ -20,12 +20,13 @@
#define METADATA_CHECKER_H
#include "persistent-data/error_set.h"
#include "thin-provisioning/metadata.h"
//----------------------------------------------------------------
namespace thin_provisioning {
boost::optional<persistent_data::error_set::ptr> metadata_check(metadata::ptr md);
// FIXME: pass in flags like --super-block-only
boost::optional<persistent_data::error_set::ptr>
metadata_check(std::string const &dev_path);
}
//----------------------------------------------------------------