libmultipath: do not access dm structures after dm_task_destroy
authorHannes Reinecke <hare@suse.de>
Thu, 17 Feb 2011 08:05:57 +0000 (09:05 +0100)
committerHannes Reinecke <hare@suse.de>
Wed, 4 May 2011 07:15:39 +0000 (09:15 +0200)
commite8cbe83c65cd0ebfd82f6889b3a8ba0d545cb77b
tree6fc4953d54fffd6b948ff4f13ccd090281bb9c9f
parent83fb936de9759b3154a8b8a0a10dde2d3209f1ec
libmultipath: do not access dm structures after dm_task_destroy

device-mapper has the habit of freeing up all internal structures
after dm_task_destroy. So we shouldn't try to access any of these
later on.

References: bnc#672857

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/devmapper.c