md: check for memory allocation failure in faulty personality
authorSven Wegener <sven.wegener@stealer.net>
Thu, 16 Oct 2008 03:16:53 +0000 (14:16 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 16 Oct 2008 03:16:53 +0000 (14:16 +1100)
commit08ff39f1c8f2134f7d0f38123ca5952371665cc5
tree145e98a5e064143e8032f2688bfdf65d511b86a2
parent255707274ea25d486b7de060a30ba4ac50593408
md: check for memory allocation failure in faulty personality

It's a fault injection module, but I don't think we should oops here.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/faulty.c