Re: 2.2.16 md botch; please revert

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 8 Jun 2000 21:16:12 +0100 (BST)


> Here is a patch that reverts the 2.2.16 change and makes it work for
> me again. I'm curious to know what the change was supposed to do....

FAT over md and partitioned MD.

> Index: drivers/block/md.c
> *************** static int do_md_run (int minor, int rep
> *** 447,452 ****
> 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)
> --- 447,450 ----

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/