From 466891f9959b500e037836737c064a72f2bbe8cf Mon Sep 17 00:00:00 2001 From: Jun'ichi Nomura Date: Wed, 28 Mar 2012 18:41:25 +0100 Subject: [PATCH] dm mpath: detect invalid map_context The map_context pointer should always be set. However, we have reports that upon requeuing it is not set correctly. So add set and clear functions with a BUG_ON() to track the issue properly. Signed-off-by: Jun'ichi Nomura Cc: Mike Snitzer Acked-by: Hannes Reinecke Tested-by: Heiko Carstens Acked-by: Dave Wysochanski Signed-off-by: Alasdair G Kergon --- Reading git-format-patch failed