From: Hannes Reinecke Date: Fri, 28 Feb 2014 14:33:49 +0000 (+0100) Subject: dm-mpath: do not activate failed paths X-Git-Tag: v3.15-rc1~69^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a0175096423856d145e210527271c9eec188a5f;p=pandora-kernel.git 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-diff-tree failed