ext2: mark as deprecated
authorMichael Opdenacker <michael.opdenacker@bootlin.com>
Thu, 22 Feb 2024 09:50:01 +0000 (10:50 +0100)
committerJan Kara <jack@suse.cz>
Thu, 22 Feb 2024 10:14:42 +0000 (11:14 +0100)
Add a DEPRECATED keyword to the kernel parameter description,
to warn users that this filesystem doesn't support dates beyond 2038.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20240222095001.137660-1-michael.opdenacker@bootlin.com>

fs/ext2/Kconfig

index 74d98965902e1690c08312037ac9002f63f1cfca..d6cfb18495801f48d33d570cf365a3469cdb96c6 100644 (file)
@@ -1,16 +1,23 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config EXT2_FS
-       tristate "Second extended fs support"
+       tristate "Second extended fs support (DEPRECATED)"
        select BUFFER_HEAD
        select FS_IOMAP
        select LEGACY_DIRECT_IO
        help
          Ext2 is a standard Linux file system for hard disks.
 
-         To compile this file system support as a module, choose M here: the
-         module will be called ext2.
+         This filesystem driver is deprecated because it does not properly
+         support inode time stamps beyond 03:14:07 UTC on 19 January 2038.
 
-         If unsure, say Y.
+         Ext2 users are advised to use ext4 driver to access their filesystem.
+         The driver is fully compatible, supports filesystems without journal
+          or extents, and also supports larger time stamps if the filesystem
+          is created with at least 256 byte inodes.
+
+         This code is kept as a simple reference for filesystem developers.
+
+         If unsure, say N.
 
 config EXT2_FS_XATTR
        bool "Ext2 extended attributes"