Skip to content

Commit b960e80

Browse files
Michael Opdenackerjankara
authored andcommitted
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>
1 parent c4e89cc commit b960e80

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

fs/ext2/Kconfig

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config EXT2_FS
3-
tristate "Second extended fs support"
3+
tristate "Second extended fs support (DEPRECATED)"
44
select BUFFER_HEAD
55
select FS_IOMAP
66
select LEGACY_DIRECT_IO
77
help
88
Ext2 is a standard Linux file system for hard disks.
99

10-
To compile this file system support as a module, choose M here: the
11-
module will be called ext2.
10+
This filesystem driver is deprecated because it does not properly
11+
support inode time stamps beyond 03:14:07 UTC on 19 January 2038.
1212

13-
If unsure, say Y.
13+
Ext2 users are advised to use ext4 driver to access their filesystem.
14+
The driver is fully compatible, supports filesystems without journal
15+
or extents, and also supports larger time stamps if the filesystem
16+
is created with at least 256 byte inodes.
17+
18+
This code is kept as a simple reference for filesystem developers.
19+
20+
If unsure, say N.
1421

1522
config EXT2_FS_XATTR
1623
bool "Ext2 extended attributes"

0 commit comments

Comments
 (0)