On Dec 12, 2006  12:38 -0600, Josh Boyer wrote:
> On 12/12/06, Andrew Morton <[EMAIL PROTECTED]> wrote:
> >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
> +

It would be better to have a printk in the module init, since users with
upstream builds won't see the config help.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to