From 3a0175096423856d145e210527271c9eec188a5f Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Fri, 28 Feb 2014 15:33:49 +0100 Subject: [PATCH] dm-mpath: do not activate failed paths activate_path() is run without a lock, so the path might be set to failed before activate_path() had a chance to run. This patch add a check for ->active in activate_path() to avoid unnecessary overhead by calling functions which are known to be failing. Signed-off-by: Hannes Reinecke Reviewed-by: Jun'ichi Nomura Signed-off-by: Mike Snitzer --- Reading git-format-patch failed