2002-07-25 14:13:58

by Erlend Aasland

[permalink] [raw]
Subject: [TRIVIAL][PATCH 2.5] 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

--- linux-2.5.28/fs/Config.in 2002-07-18 12:34:26.000000000 +0200
+++ linux-2.5.28-dirty/fs/Config.in 2002-07-23 03:56:10.000000000 +0200
@@ -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


2002-07-25 14:43:26

by David Woodhouse

[permalink] [raw]
Subject: Re: [TRIVIAL][PATCH 2.5] Fix JFFS when procfs is not enabled


[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