]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/md/md.c
md: prepare for non-power-of-two chunk sizes
authorraz ben yehuda <raziebe@gmail.com>
Tue, 16 Jun 2009 07:01:42 +0000 (17:01 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 07:01:42 +0000 (17:01 +1000)
commit2ac06c3332898103210b478c5a17c20e28929287
tree6f34315bbdcc8a8300ab2ab5edcd4cb96150e583
parent740da44918680a0c72411ae4ccdd1861069afcc4
md: prepare for non-power-of-two chunk sizes

Remove chunk size check from md as this is now performed in the run
function in each personality.

Replace chunk size power 2 code calculations by a regular division.

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