md/bitmap: use DIV_ROUND_UP instead of open-code
authorNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:25 +0000 (13:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:25 +0000 (13:55 +1000)
commit15702d7fb6e7a6baf5a04286a227b0ad2fe4a03f
treee3f99eab7c841bb51ee48a8806e140f751d8e95d
parent40cffcc0e8f9f6e295630cb8b8d58a13baa6c7f9
md/bitmap: use DIV_ROUND_UP instead of open-code

Also take the opportunity to simplify CHUNK_BLOCK_RATIO.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c