thin_metadata_t now reproduces the recursive new_block() error.

This commit is contained in:
Joe Thornber
2013-04-11 13:41:43 +01:00
parent 3629e1e2b5
commit dde775ef52
4 changed files with 74 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ namespace {
::close(fd);
nr_blocks = div_down<block_address>(nr_blocks, MD_BLOCK_SIZE);
} else
// FIXME: needs a better message
throw runtime_error("bad path");
return nr_blocks;