From: Jun'ichi Nomura Date: Wed, 28 Mar 2012 17:41:25 +0000 (+0100) Subject: dm mpath: detect invalid map_context X-Git-Tag: v3.4-rc1~68^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=466891f9959b500e037836737c064a72f2bbe8cf;p=pandora-kernel.git 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-diff-tree failed