md/raid5: fix previous patch.
authorNeilBrown <neilb@suse.de>
Thu, 22 Apr 2010 21:08:28 +0000 (07:08 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 22 Apr 2010 21:08:28 +0000 (07:08 +1000)
commit6e3b96ed610e5a1838e62ddae9fa0c3463f235fa
treec0c3f0d3e5f16c04d417160e5bca1d4abf562651
parent35f2a591192d0a5d9f7fc696869c76f0b8e49c3d
md/raid5: fix previous patch.

Previous patch changes stripe and chunk_number to sector_t but
mistakenly did not update all of the divisions to use sector_dev().

This patch changes all the those divisions (actually the '%' operator)
to sector_div.

Signed-off-by: NeilBrown <neilb@suse.de>
Cc: stable@kernel.org
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
drivers/md/raid5.c