dm mpath: fix NULL pointer dereference when path parameters missing
authorAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:13:49 +0000 (04:13 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:13:49 +0000 (04:13 +0100)
commit6bbf79a14080a0c61212f53b4b87dc1a99fedf9c
tree332dea35445605f6e1bacd9330500e9d93057319
parent5af568cbd55f60b5a1d174f621b273e4f585dc35
dm mpath: fix NULL pointer dereference when path parameters missing

multipath_ctr() forgets to return an error after detecting
missing path parameters.  Fix this.

Signed-off-by: Patrick LoPresti <lopresti@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-mpath.c