dm-raid1.c: fix NULL dereferences
commite03f1a842287480aa03732612148c0d333baca61
authorAdrian Bunk <bunk@kernel.org>
Tue, 19 Feb 2008 19:44:19 +0000 (19 19:44 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 19 Feb 2008 23:52:27 +0000 (19 15:52 -0800)
treeb26375cd9efb5d5ff3be1696b8bb59059f7eb92e
parentae5e1b6cc511b278ad52b2d42afb44780e5d4cb2
dm-raid1.c: fix NULL dereferences

This patch fixes two NULL dereferences introduced by commit
06386bbfd2441416875d0403d405c56822f6ebac and spotted by the Coverity
checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-raid1.c