lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061122041736.GB5200@stusta.de>
Date:	Wed, 22 Nov 2006 05:17:36 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...l.org>, David Howells <dhowells@...hat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [-mm patch] CACHEFILES must depend on PROC_FS

I got the following compile error with CONFIG_PROC_FS=n:

<--  snip  -->

...
  CC      fs/cachefiles/cf-main.o
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc5-mm2/fs/cachefiles/cf-main.c: In function 'cachefiles_init':
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc5-mm2/fs/cachefiles/cf-main.c:77: error: 'proc_root_fs' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc5-mm2/fs/cachefiles/cf-main.c:77: error: (Each undeclared identifier is reported only once
/home/bunk/linux/kernel-2.6/linux-2.6.19-rc5-mm2/fs/cachefiles/cf-main.c:77: error: for each function it appears in.)
make[3]: *** [fs/cachefiles/cf-main.o] Error 1

<--  snip  -->

This patch adds the missing dependency of CACHEFILES on PROC_FS.

Signed-off-by: Adrian Bunk <bunk@...sta.de>

--- linux-2.6.19-rc5-mm2/fs/Kconfig.old	2006-11-22 02:48:36.000000000 +0100
+++ linux-2.6.19-rc5-mm2/fs/Kconfig	2006-11-22 02:49:01.000000000 +0100
@@ -654,6 +654,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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ