]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 13 Nov 2008 23:39:00 +0000 (23:39 +0000)
commitb81aa1c79201cb424114fd198607951900babe18
treef05501c670fd9919779b6759e2ff816f574186fe
parent6edebdee48729ab4ba564bbfcb8dbf6a6cd68a39
dm mpath: avoid attempting to activate null path

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>
drivers/md/dm-mpath.c