md/raid5: fix previous patch.
authorNeilBrown <neilb@suse.de>
Thu, 22 Apr 2010 21:08:28 +0000 (07:08 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:56:59 +0000 (14:56 -0700)
commita2cea9c7ccc593386385afd3a35ccf0bb9143bcc
tree64c9876ee632a206a816aa5383dbdae8133d3f0d
parent2b759393cd12c710da0859c87564c78930ff01d8
md/raid5: fix previous patch.

commit 6e3b96ed610e5a1838e62ddae9fa0c3463f235fa upstream.

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>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/raid5.c