dm mpath: fix NULL pointer dereference when path parameters missing
commit605a37bcc6f41f44d0093fec5f0816b5765f4e10
authorAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:13:49 +0000 (12 04:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:41:43 +0000 (26 16:41 -0700)
tree7ff469285af57ac63640f98fc977dabae2a706f2
parent592de9cc7e8c4886d05139771e748da2e9f13f4b
dm mpath: fix NULL pointer dereference when path parameters missing

commit 6bbf79a14080a0c61212f53b4b87dc1a99fedf9c upstream.

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

Signed-off-by: Patrick LoPresti <lopresti@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-mpath.c