summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-06-05 22:45:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-06 11:29:08 -0700
commita6d8113a986c66aeb379a26b6e0062488b3e59e1 (patch)
treeb66aea459f4f3dcb9b13b8852f3e2b12b385ce94 /drivers/md/raid5.c
parente0a115e5aa554b93150a8dc1c3fe15467708abb2 (diff)
downloadop-kernel-dev-a6d8113a986c66aeb379a26b6e0062488b3e59e1.zip
op-kernel-dev-a6d8113a986c66aeb379a26b6e0062488b3e59e1.tar.gz
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
OpenPOWER on IntegriCloud