md/raid5: fix previous patch.
commit99cc64ae9449e60795f1844c8b312b29a363e1da
authorNeilBrown <neilb@suse.de>
Thu, 22 Apr 2010 21:08:28 +0000 (23 07:08 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:31 +0000 (12 15:02 -0700)
tree74c3b5522e2e336b8e8ad3aa0a03320348170fea
parent5c0bdba0714bef2917ec866f7c9ed112cb45d7ab
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