diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-06-05 22:45:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-06 11:29:08 -0700 |
commit | a6d8113a986c66aeb379a26b6e0062488b3e59e1 (patch) | |
tree | b66aea459f4f3dcb9b13b8852f3e2b12b385ce94 /drivers/md/raid5.c | |
parent | e0a115e5aa554b93150a8dc1c3fe15467708abb2 (diff) | |
download | lwn-a6d8113a986c66aeb379a26b6e0062488b3e59e1.tar.gz lwn-a6d8113a986c66aeb379a26b6e0062488b3e59e1.zip |
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>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions