[PATCH] md: fix oops in error-handling
authorAndrew Morton <akpm@osdl.org>
Mon, 10 Jul 2006 11:44:20 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:17 +0000 (13:24 -0700)
commitd0a0a5ee7a0094231a11cfe3f86d2d8f5f994e01
treea6118e5bf43a4e60d9e555e74bac31e764e17aef
parentd69504325978c461b51b03cca49626026970307b
[PATCH] md: fix oops in error-handling

During early MD setup (superblock reading), we don't have a personality yet.
But the error-handling code tries to dereference mddev->pers.  Fix.

Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c