dm thin: provide specific errors for two table load failure cases
authorMike Snitzer <snitzer@redhat.com>
Fri, 27 Jul 2012 14:07:59 +0000 (15:07 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:07:59 +0000 (15:07 +0100)
commitf09996c993e256fce4b920588959866998d51250
tree462169f8d08cdac6960db32bf6307068630f634e
parent1a66a08ae82b16eb40705ad112ff28873981af92
dm thin: provide specific errors for two table load failure cases

Provide specific error message strings for two pool_ctr() failure cases
that currently give just "Unknown error".

Reference: test_two_pools_pointing_to_the_same_metadata_fails and
test_different_pool_cant_replace_pool in thinp-test-suite.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c