md/raid5: allow for more than 2^31 chunks.
commit5c0bdba0714bef2917ec866f7c9ed112cb45d7ab
authorNeilBrown <neilb@suse.de>
Tue, 20 Apr 2010 04:13:34 +0000 (20 14:13 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:30 +0000 (12 15:02 -0700)
tree47f28309e7a57ca68523de39ad46a5edea2c8411
parentf483fae216ef77d997d2f38873d274b6a9f6ecdf
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