aboutsummaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorGravatar Michael Opdenacker <michael.opdenacker@bootlin.com> 2024-02-22 10:50:01 +0100
committerGravatar Jan Kara <jack@suse.cz> 2024-02-22 11:14:42 +0100
commitb960e8093e7a57de98724931d17b2fa86ff1105f (patch)
treeba3031e81671f7d262e8978b35c7943ffca253be /fs/ext2
parentudf: convert to new mount API (diff)
downloadlinux-b960e8093e7a57de98724931d17b2fa86ff1105f.tar.gz
linux-b960e8093e7a57de98724931d17b2fa86ff1105f.tar.bz2
linux-b960e8093e7a57de98724931d17b2fa86ff1105f.zip
ext2: mark as deprecated
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>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/Kconfig15
1 files changed, 11 insertions, 4 deletions
diff --git a/fs/ext2/Kconfig b/fs/ext2/Kconfig
index 74d98965902e..d6cfb1849580 100644
--- a/fs/ext2/Kconfig
+++ b/fs/ext2/Kconfig
@@ -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"