Skip to contentSkip to conversation

Make JFFS depend on CONFIG_BROKEN

PATCH In review Josh Boyer 2 participants 3 messages Dec 18, 2006 – Jan 1, 2007 VFS

lore
Share & tools
lore

Josh Boyer

author
#0 lore raw

PATCH 1/1 Make JFFS depend on CONFIG_BROKEN

Mark JFFS as broken and provide a warning to users that it is deprecated and scheduled for removal in 2.6.21

fs/Kconfig +0 -0
index b3b5aa0..4ac367d 100644
@@ -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

#1 lore raw
Quoted 21 lines · Josh Boyer

Mark JFFS as broken and provide a warning to users that it is deprecated and scheduled for removal in 2.6.21

fs/Kconfig +0 -0
index b3b5aa0..4ac367d 100644
@@ -1204,13 +1204,16 @@ config EFS_FS
 

config JFFS_FS
tristate "Journalling Flash File System (JFFS) support"

fs/Kconfig +1 -1
-	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/>).

fs/Kconfig

Quoted 3 lines
fs/Kconfig +2 -0
+	  NOTE: This filesystem is deprecated and is scheduled for removal in
+	  2.6.21.  See Documentation/feature-removal-schedule.txt
...
$ grep -i jffs Documentation/feature-removal-schedule.txt 
$ 

cu
Adrian

Signature · 4 lines
       "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
author
#2 lore raw
Quoted 7 lines · Adrian Bunk

Review

Quoted 3 lines · Josh Boyer
(quoted diff) +2 -0
+       NOTE: This filesystem is deprecated and is scheduled for removal in
+       2.6.21.  See Documentation/feature-removal-schedule.txt
...
$ grep -i jffs Documentation/feature-removal-schedule.txt
$

This was a follow on patch to Jeff's 'kill-jffs' branch. He asked me to resend it as a separate patch without all the quoted context.

Jeff?

josh