dm: clear bi_end_io on remapping failure
authorHannes Reinecke <hare@suse.de>
Wed, 28 Mar 2012 17:41:25 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:25 +0000 (18:41 +0100)
commit4d7b38b7d944a79da3793b6c92d38682f3905ac9
tree88f187c760c0dfd3cb8d7957a635254b3fcabd36
parent574ce07eb0014069f1da763c219bb30ea4c266ec
dm: clear bi_end_io on remapping failure

As a precaution, set bi_end_io to NULL when failing to remap.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c