Skip to content

Commit eb103a5

Browse files
committed
reiserfs: Deprecate reiserfs
Reiserfs is relatively old filesystem and its development has ceased quite some years ago. Linux distributions moved away from it towards other filesystems such as btrfs, xfs, or ext4. To reduce maintenance burden on cross filesystem changes (such as new mount API, iomap, folios ...) let's add a deprecation notice when the filesystem is mounted and schedule its removal to 2025. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]>
1 parent 50b3a81 commit eb103a5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

fs/reiserfs/Kconfig

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config REISERFS_FS
3-
tristate "Reiserfs support"
3+
tristate "Reiserfs support (deprecated)"
44
select CRC32
55
help
6-
Stores not just filenames but the files themselves in a balanced
7-
tree. Uses journalling.
6+
Reiserfs is deprecated and scheduled to be removed from the kernel
7+
in 2025. If you are still using it, please migrate to another
8+
filesystem or tell us your usecase for reiserfs.
9+
10+
Reiserfs stores not just filenames but the files themselves in a
11+
balanced tree. Uses journalling.
812

913
Balanced trees are more efficient than traditional file system
1014
architectural foundations.

fs/reiserfs/super.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,6 +1652,8 @@ static int read_super_block(struct super_block *s, int offset)
16521652
return 1;
16531653
}
16541654

1655+
reiserfs_warning(NULL, "", "reiserfs filesystem is deprecated and "
1656+
"scheduled to be removed from the kernel in 2025");
16551657
SB_BUFFER_WITH_SB(s) = bh;
16561658
SB_DISK_SUPER_BLOCK(s) = rs;
16571659

0 commit comments

Comments
 (0)