]> git.baikalelectronics.ru Git - kernel.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)
commitbbbd4bfb562258b3ea6a3ab75ad93a18b5930898
treef05501c670fd9919779b6759e2ff816f574186fe
parent0413a47387b753769ca82616c5fc95e092806667
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