Re: lvm in 2.4.0-test9pre5

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Tue Sep 26 2000 - 07:45:58 EST


On Tue, 26 Sep 2000, Michael Elizabeth Chastain wrote:
> Peter, your patch fails if CONFIG_BLK_DEV_MD=m and CONFIG_BLK_DEV_LVM=y.
>
> The simple correct way is to use some ugly temporary variables:
> MD and MMD.

Temporary variables shouldn't be needed... We need to put
drivers/md in both SUB_DIRS and MOD_SUB_DIRS if lvm=Y and md=M (or vice
versa), so it sounds like something like this would work:

        if (config_md==y || config_lvm=y)
                sub_dirs += drivers/md
        if (config_md==m || config_lvm==m)
                mod_sub_dirs += drivers/md
                

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



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:17 EST