From: Dan Williams Date: Fri, 6 Jun 2008 05:45:53 +0000 (-0700) Subject: md: fix uninitialized use of mddev->recovery_wait X-Git-Tag: v2.6.26-rc6~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d8113a986c66aeb379a26b6e0062488b3e59e1;p=pandora-kernel.git md: fix uninitialized use of mddev->recovery_wait If an array was created with --assume-clean we will oops when trying to set ->resync_max. Fix this by initializing ->recovery_wait in mddev_find. Cc: Signed-off-by: Dan Williams Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed