]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: Calculate correct array size for raid10 in new offset mode
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:50 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:39 +0000 (09:58 -0700)
commit8838832830d2c6c28ae2db93188ae90652eb7fc2
treed17a7027161352ea1893236dc6ea5bd309f6ceb4
parentce25c31bdd3b39266debd86a7732007e05983a67
[PATCH] md: Calculate correct array size for raid10 in new offset mode

The size calculation made assumtion which the new offset mode didn't
follow.  This gets the size right in all cases.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid10.c