Skip to contentSkip to conversation

cachefiles uses PROC_FS

PATCH In review Randy Dunlap 2 participants 2 messages Nov 17, 2006 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cachefiles uses PROC_FS

From: Randy Dunlap <[email protected]>

CACHEFILES uses PROC_FS, so make it a Kconfig depends.

fs/cachefiles/cf-main.c:77: error: 'proc_root_fs' undeclared (first use in this function)

---
 fs/Kconfig |    1 +
 1 file changed, 1 insertion(+)
fs/Kconfig +1 -0
@@ -655,6 +655,7 @@ config FSCACHE
 
 config CACHEFILES
 	tristate "Filesystem caching on files"
+	depends on PROC_FS
 	select FSCACHE
 	help
 	  This permits use of a mounted filesystem as a cache for other

---

#1 lore raw
Quoted 1 line · Randy Dunlap

CACHEFILES uses PROC_FS, so make it a Kconfig depends.

Thanks, but the new and improved CacheFiles doesn't use procfs as Christoph Hellwig objects to such a practice. In any case, Andrew Morton has dropped it from -mm as it's now obsolete.

David