RE: [PATCH v2] ramster: depend on NET for sock_* functions

From: Dan Magenheimer
Date: Mon May 07 2012 - 10:15:33 EST


> From: Sasha Levin [mailto:levinsasha928@xxxxxxxxx]
> Sent: Monday, May 07, 2012 5:02 AM
> To: gregkh@xxxxxxxxxxxxxxxxxxx; dan.magenheimer@xxxxxxxxxx; sjenning@xxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx; Sasha Levin
> Subject: [PATCH v2] ramster: depend on NET for sock_* functions
>
> Building ramster without NET would cause linkage issue due to missing
> sock_*() functions in cluster/tcp.c
>
> Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>

Thanks Sasha!

Acked-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>

> ---
> drivers/staging/ramster/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/staging/ramster/Kconfig b/drivers/staging/ramster/Kconfig
> index 4af1f8d..8e334cb 100644
> --- a/drivers/staging/ramster/Kconfig
> +++ b/drivers/staging/ramster/Kconfig
> @@ -1,6 +1,6 @@
> config RAMSTER
> bool "Cross-machine RAM capacity sharing, aka peer-to-peer tmem"
> - depends on (CLEANCACHE || FRONTSWAP) && CONFIGFS_FS=y && !ZCACHE && !XVMALLOC && !HIGHMEM
> + depends on (CLEANCACHE || FRONTSWAP) && CONFIGFS_FS=y && !ZCACHE && !XVMALLOC && !HIGHMEM && NET
> select LZO_COMPRESS
> select LZO_DECOMPRESS
> default n
> --
> 1.7.8.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/