]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53b08cf3a6ef867c25ea69e3729ee0e686e6bac1
tree462169f8d08cdac6960db32bf6307068630f634e
parent3b5eebaa674aca7bf85fa9c37181ecc56712dee0
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