patch-2.2.16 linux/drivers/block/md.c

Next file: linux/drivers/block/paride/paride.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -446,6 +446,8 @@
   
   factor = min = 1 << FACTOR_SHIFT(FACTOR((md_dev+minor)));
   
+  md_blocksizes[minor] <<= FACTOR_SHIFT(FACTOR((md_dev+minor)));
+
   for (i=0; i<md_dev[minor].nb_dev; i++)
     if (md_dev[minor].devices[i].size<min)
     {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)