md/raid5: allow for more than 2^31 chunks.
authorNeilBrown <neilb@suse.de>
Tue, 20 Apr 2010 04:13:34 +0000 (14:13 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 20 Apr 2010 04:13:34 +0000 (14:13 +1000)
commit35f2a591192d0a5d9f7fc696869c76f0b8e49c3d
tree2b4cdbe2824a936f136fa0eb0dbd2db84927b057
parent85341c61361cc45a9cc0e11c01e8f4479ef460ac
md/raid5: allow for more than 2^31 chunks.

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>
Cc: stable@kernel.org
drivers/md/raid5.c