md/bitmap: use sector_div for sector_t divisions
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 3 Mar 2015 02:35:31 +0000 (13:35 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 4 Mar 2015 02:08:16 +0000 (13:08 +1100)
commit3b0e6aacbfe04fa144c4732f269b09ce91177566
tree8ebbb494eec91dd732fd6e8b923b212da09f9740
parent935f3d4fc62c1f4d99cd13344762e766cd3bf115
md/bitmap: use sector_div for sector_t divisions

neilb: modified to not corrupt ->resync_max_sectors.

sector_div usage fixed by Guoqing Jiang <gqjiang@suse.com>

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c