md/raid5: allow for more than 2^31 chunks.
authorNeilBrown <neilb@suse.de>
Tue, 20 Apr 2010 04:13:34 +0000 (14:13 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:56:59 +0000 (14:56 -0700)
commit2b759393cd12c710da0859c87564c78930ff01d8
tree614d4859fc941ae30c1ae2204afe41eed7bfa0d0
parentd5d30e59fbea20fc09d300f3d4c90bbd2ecfc9f3
md/raid5: allow for more than 2^31 chunks.

commit 35f2a591192d0a5d9f7fc696869c76f0b8e49c3d upstream.

With many large drives and small chunk sizes it is possible
to create a RAID5 with more than 2^31 chunks.  Make sure this
works.

Reported-by: Brett King <king.br@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/raid5.c