[2.5 patch] JFFS_PROC_FS must depend on JFFS_FS

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.file-systems.jffs
Message-ID <[email protected]>
In 2.5.70-mm5 compilation fails if JFFS_PROC_FS and !PROC. The 
following dependency in the Kconfig file is needed:

--- linux-2.5.70-mm5/fs/Kconfig.old	2003-06-07 15:42:10.000000000 +0200
+++ linux-2.5.70-mm5/fs/Kconfig	2003-06-07 15:42:32.000000000 +0200
@@ -1043,7 +1043,7 @@
 
 config JFFS_PROC_FS
 	bool "JFFS stats available in /proc filesystem"
-	depends on JFFS_FS
+	depends on JFFS_FS && PROC
 	help
 	  Enabling this option will cause statistics from mounted JFFS file systems
 	  to be made available to the user in the /proc/fs/jffs/ directory.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.