commit | a6d8113a986c66aeb379a26b6e0062488b3e59e1 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Jun 05 22:45:53 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jun 06 11:29:08 2008 -0700 |
tree | b66aea459f4f3dcb9b13b8852f3e2b12b385ce94 | |
parent | e0a115e5aa554b93150a8dc1c3fe15467708abb2 [diff] |
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: <stable@kernel.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>