]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm mpath: avoid attempting to activate null path
authorChandra Seetharaman <sekharan@us.ibm.com>
Thu, 13 Nov 2008 23:39:00 +0000 (23:39 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Feb 2009 17:31:13 +0000 (09:31 -0800)
commitea291b00259ee488a6056d1f9ae1dcdd73d634fb
tree6903322d3e3fb597480be3b8f34a109a3a2c2fd1
parent07d1f490932233348ff4a15d82f9d294df4c1b65
dm mpath: avoid attempting to activate null path

commit b81aa1c79201cb424114fd198607951900babe18 upstream.

Path activation code is called even when the pgpath is NULL. This could
lead to a panic in activate_path(). Such a panic is seen in -rt kernel.

This problem has been there before the pg_init() was moved to a
workqueue.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-mpath.c