superblock_checker.* -> superblock.*, remove metadata_disk_structures.* and rearrange namespaces a bit.
This commit is contained in:
@@ -29,6 +29,12 @@ using namespace std;
|
||||
using namespace thin_provisioning;
|
||||
|
||||
namespace {
|
||||
enum error_state {
|
||||
NO_ERRORS,
|
||||
NON_FATAL, // eg, lost blocks
|
||||
FATAL // needs fixing before pool can be activated
|
||||
};
|
||||
|
||||
int check(string const &path, bool quiet) {
|
||||
try {
|
||||
optional<error_set::ptr> maybe_errors = metadata_check(path);
|
||||
|
||||
Reference in New Issue
Block a user