Skip to contentSkip to conversation

Fix JFFS when procfs is not enabled

PATCH In review Erlend Aasland 2 participants 2 messages Jul 25, 2002 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix JFFS when procfs is not enabled

Hi,

Here's a trivial one. Only ask for procfs support when procfs is enabled.

It's against a clean 2.5.28 tree.

Regards,
Erlend Aasland

fs/Config.in +2 -2
@@ -44,8 +44,8 @@
 dep_tristate 'EFS file system support (read only) (EXPERIMENTAL)' CONFIG_EFS_FS $CONFIG_EXPERIMENTAL
 dep_tristate 'Journalling Flash File System (JFFS) support' CONFIG_JFFS_FS $CONFIG_MTD
 if [ "$CONFIG_JFFS_FS" = "y" -o "$CONFIG_JFFS_FS" = "m" ] ; then
-   int 'JFFS debugging verbosity (0 = quiet, 3 = noisy)' CONFIG_JFFS_FS_VERBOSE 0
-   bool 'JFFS stats available in /proc filesystem' CONFIG_JFFS_PROC_FS
+   int '  JFFS debugging verbosity (0 = quiet, 3 = noisy)' CONFIG_JFFS_FS_VERBOSE 0
+   dep_bool '  JFFS stats available in /proc filesystem' CONFIG_JFFS_PROC_FS $CONFIG_PROC_FS
 fi
 dep_tristate 'Journalling Flash File System v2 (JFFS2) support' CONFIG_JFFS2_FS $CONFIG_MTD
 if [ "$CONFIG_JFFS2_FS" = "y" -o "$CONFIG_JFFS2_FS" = "m" ] ; then
#1 lore raw
Quoted 2 lines · [email protected] said:

Here's a trivial one. Only ask for procfs support when procfs is
enabled.

S'broken. Don't apply it. Working out why is left as an exercise for the reader. Google is your friend.

--
dwmw2