Skip to contentSkip to conversation

ramster: depend on NET for sock_* functions

PATCH In review Sasha Levin 2 participants 2 messages May 7, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ramster: depend on NET for sock_* functions

Building ramster without NET would cause linkage issue due to missing sock_*() functions in cluster/tcp.c

---
 drivers/staging/ramster/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/ramster/Kconfig +1 -1
index 4af1f8d..8e334cb 100644
@@ -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
Signature · 1 line
1.7.8.5
Acked-by on v2 1/1
#1 lore raw
Quoted 10 lines

From: Sasha Levin [mailto:[email protected]]
Sent: Monday, May 07, 2012 5:02 AM
To: [email protected]; [email protected]; [email protected]
Cc: [email protected]; 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

Thanks Sasha!

Quoted 18 lines
---
 drivers/staging/ramster/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/ramster/Kconfig +1 -2
index 4af1f8d..8e334cb 100644
@@ -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