diff options
author | NeilBrown <neilb@suse.de> | 2006-08-05 12:14:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-06 08:57:46 -0700 |
commit | f9abd1ace43d6186268856dbec2ebf411218d6ca (patch) | |
tree | 63ab66465c56e8e9fcbbf765f135838171fdd77d /drivers/mca/mca-driver.c | |
parent | af2bc7d222c2700ccda060184d7bced7d7cb9fc2 (diff) | |
download | blackbird-op-linux-f9abd1ace43d6186268856dbec2ebf411218d6ca.tar.gz blackbird-op-linux-f9abd1ace43d6186268856dbec2ebf411218d6ca.zip |
[PATCH] md: Fix a bug that recently crept into md/linear
A recent patch that allowed linear arrays to be reconfigured on-line
allowed in a bug which results in divide by zero - not all
mddev->array_size were converted to conf->array_size.
This patch finished the conversion and fixed the bug.
The offending patch was commit 7c7546ccf6463edbeee8d9aac6de7be1cd80d08a.
Thanks to Simon Kirby <sim@netnation.com> for the bug report.
Cc: Simon Kirby <sim@netnation.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mca/mca-driver.c')
0 files changed, 0 insertions, 0 deletions