Re: [PATCH/RFC] Delete JFFS (version 1)

"Josh Boyer" <[email protected]> Tue, 12 Dec 2006 12:38:05 -0600
Newsgroups gmane.linux.file-systems,gmane.linux.kernel,gmane.linux.file-systems.jffs
Message-ID <[email protected]>
On 12/12/06, Andrew Morton <[email protected]> wrote:
> On Tue, 12 Dec 2006 07:39:26 -0500
> Jeff Garzik <[email protected]> wrote:
>
> > I have created the 'kill-jffs' branch of
> > git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git that
> > removes fs/jffs.
> >
> > I argue that you can count the users (who aren't on 2.4) on one hand,
> > and developers don't seem to have cared for it in ages.
> >
> > People are already talking about jffs2 replacements, so I propose we zap
> > jffs in 2.6.21.
>
> It would be good to provide unignorable notice of this in 2.6.20.  Via a
> loud printk, or perhaps even CONFIG_BROKEN or CONFIG_EMBEDDED.

Something like the below?

Make CONFIG_JFFS depend on CONFIG_BROKEN

Signed-off-by: Josh Boyer <[email protected]>

diff --git a/fs/Kconfig b/fs/Kconfig
index b3b5aa0..4ac367d 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1204,13 +1204,16 @@ config EFS_FS

 config JFFS_FS
 	tristate "Journalling Flash File System (JFFS) support"
-	depends on MTD && BLOCK
+	depends on MTD && BLOCK && BROKEN
 	help
 	  JFFS is the Journalling Flash File System developed by Axis
 	  Communications in Sweden, aimed at providing a crash/powerdown-safe
 	  file system for disk-less embedded devices. Further information is
 	  available at (<http://developer.axis.com/software/jffs/>).

+	  NOTE: This filesystem is deprecated and is scheduled for removal in
+	  2.6.21.  See Documentation/feature-removal-schedule.txt
+
 config JFFS_FS_VERBOSE
 	int "JFFS debugging verbosity (0 = quiet, 3 = noisy)"
 	depends on JFFS_FS
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html