md: raid0: chunk size check in raid0_run
authorraz ben yehuda <raziebe@gmail.com>
Tue, 16 Jun 2009 07:00:57 +0000 (17:00 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 07:00:57 +0000 (17:00 +1000)
commit92e59b6ba21845fadd2cce725010a9351740b76e
tree01ae5dcf151a8e9e3f578acfac976f59638474ee
parent46994191ae8fdf1cbcc1f29282576b269a638c69
md: raid0: chunk size check in raid0_run

have raid0 check chunk size in run method instead of in md.
This is part of a series moving the checks from common code to
the personalities where they belong.

hardsect is short and chunksize is an int, so it is safe to use %.

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