Skip to contentSkip to conversation

Drop reiserfs support

PATCH In review Peter Robinson 2 participants 5 messages Feb 18, 2024 – Mar 4, 2024 VFS

lore
Share & tools
lore
#0 lore raw

cover Drop reiserfs support

The reiserfs filesystem was only enabled by the ethernut5 which appears
to use jffs on nand for all default usecases (Nut/OS, Yocto) and doesn't have USB Storage support enabled, but does have MMC. It's also scheduled for removal in upstream Linux.

Looking at the logs for ethernut5 it doesn't actually appear to be actively maintained either for the best part of 10+ years but I don't remove that as part of this PR but leave it to someone who may know the AT91 ecosystem better than me.

Peter Robinson (2):
configs: ethernut5: Drop reiserfs
fs: drop reiserfs

 cmd/Kconfig                    |   9 -
 cmd/reiser.c                   | 171 ------
 configs/ethernut5_defconfig    |   1 -
 fs/Kconfig                     |   2 -
 fs/Makefile                    |   1 -
 fs/reiserfs/Kconfig            |   0
 fs/reiserfs/Makefile           |  10 -
 fs/reiserfs/dev.c              |  28 -
 fs/reiserfs/mode_string.c      | 124 -----
 fs/reiserfs/reiserfs.c         | 971 ---------------------------------
 fs/reiserfs/reiserfs_private.h | 509 -----------------
 include/reiserfs.h             |  72 ---
 12 files changed, 1898 deletions(-)
 delete mode 100644 cmd/reiser.c
 delete mode 100644 fs/reiserfs/Kconfig
 delete mode 100644 fs/reiserfs/Makefile
 delete mode 100644 fs/reiserfs/dev.c
 delete mode 100644 fs/reiserfs/mode_string.c
 delete mode 100644 fs/reiserfs/reiserfs.c
 delete mode 100644 fs/reiserfs/reiserfs_private.h
 delete mode 100644 include/reiserfs.h
Signature · 1 line
2.43.1
#1 lore raw

PATCH 1/2 configs: ethernut5: Drop reiserfs

This is the only board that enables it, and looking generally I don't believe it's used. All use cases I could fine for the board rub by default off jffs on the nand and it doesn't enable USB storage.

---
 configs/ethernut5_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/ethernut5_defconfig +0 -1
index bdd8f4db8b7..cc2f567c8a8 100644
@@ -53,7 +53,6 @@ CONFIG_CMD_JFFS2=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=atmel_nand:-(root)"
-CONFIG_CMD_REISER=y
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
Signature · 1 line
2.43.1
#2 lore raw

Re: [PATCH 1/2] configs: ethernut5: Drop reiserfs

Quoted 6 lines · Peter Robinson

This is the only board that enables it, and looking generally I don't believe it's used. All use cases I could fine for the board rub by default off jffs on the nand and it doesn't enable USB storage.

Applied to u-boot/next, thanks!

Signature · 1 line
Tom
#3 lore raw

PATCH 2/2 fs: drop reiserfs

In reply to Peter Robinson

It was only included by a single board which doesn't appear to have ever used it for any default use cases so drop the filesystem now that isn't used by any in-tree configurations.

---
 cmd/Kconfig                    |   9 -
 cmd/reiser.c                   | 171 ------
 fs/Kconfig                     |   2 -
 fs/Makefile                    |   1 -
 fs/reiserfs/Kconfig            |   0
 fs/reiserfs/Makefile           |  10 -
 fs/reiserfs/dev.c              |  28 -
 fs/reiserfs/mode_string.c      | 124 -----
 fs/reiserfs/reiserfs.c         | 971 ---------------------------------
 fs/reiserfs/reiserfs_private.h | 509 -----------------
 include/reiserfs.h             |  72 ---
 11 files changed, 1897 deletions(-)
 delete mode 100644 cmd/reiser.c
 delete mode 100644 fs/reiserfs/Kconfig
 delete mode 100644 fs/reiserfs/Makefile
 delete mode 100644 fs/reiserfs/dev.c
 delete mode 100644 fs/reiserfs/mode_string.c
 delete mode 100644 fs/reiserfs/reiserfs.c
 delete mode 100644 fs/reiserfs/reiserfs_private.h
 delete mode 100644 include/reiserfs.h
cmd/Kconfig +0 -9
index a854a4e8312..62ba7347dd4 100644
@@ -2751,15 +2751,6 @@ config MTDPARTS_DEFAULT
 	  Defines a default MTD partitioning scheme in the Linux MTD command
 	  line partitions format
 
-config CMD_REISER
-	bool "reiser - Access to reiserfs filesystems"
-	help
-	  This provides two commands which operate on a resierfs filesystem,
-	  commonly used some years ago:
-
-	    reiserls - list files
-	    reiserload - load a file
-
 config CMD_YAFFS2
 	bool "yaffs2 - Access of YAFFS2 filesystem"
 	depends on YAFFS2
cmd/reiser.c deleted +0 -171

171 lines not on this page · raw message

fs/Kconfig +0 -2
index aa13d4faa77..744c9812b12 100644
@@ -10,8 +10,6 @@ source "fs/cbfs/Kconfig"
 
 source "fs/ext4/Kconfig"
 
-source "fs/reiserfs/Kconfig"
-
 source "fs/fat/Kconfig"
 
 source "fs/jffs2/Kconfig"
fs/Makefile +0 -1
index 4bed2ff2d99..7b05c79e0cc 100644
@@ -19,7 +19,6 @@ obj-$(CONFIG_CMD_CRAMFS) += cramfs/
 obj-$(CONFIG_FS_EXT4) += ext4/
 obj-$(CONFIG_FS_FAT) += fat/
 obj-$(CONFIG_FS_JFFS2) += jffs2/
-obj-$(CONFIG_CMD_REISER) += reiserfs/
 obj-$(CONFIG_SANDBOX) += sandbox/
 obj-$(CONFIG_SEMIHOSTING) += semihostingfs.o
 obj-$(CONFIG_CMD_UBIFS) += ubifs/
fs/reiserfs/Kconfig deleted +0 -0
deleted file mode 100644
index e69de29bb2d..00000000000
fs/reiserfs/Makefile deleted +0 -10
deleted file mode 100644
index 63dd8957534..00000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2006
-# Wolfgang Denk, DENX Software Engineering, [email protected].
-#
-# (C) Copyright 2003
-# Pavel Bartusek, Sysgo Real-Time Solutions AG, [email protected]
-#
-
-obj-y := reiserfs.o dev.o mode_string.o
fs/reiserfs/dev.c deleted +0 -28
deleted file mode 100644
index 5d9c26489aa..00000000000
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- *  (C) Copyright 2003 - 2004
- *  Sysgo AG, <www.elinos.com>, Pavel Bartusek <[email protected]>
- */
-
-
-#include <common.h>
-#include <config.h>
-#include <reiserfs.h>
-#include <fs_internal.h>
-#include "reiserfs_private.h"
-
-static struct blk_desc *reiserfs_blk_desc;
-static struct disk_partition *part_info;
-
-
-void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
-{
-	reiserfs_blk_desc = rbdd;
-	part_info = info;
-}
-
-int reiserfs_devread(int sector, int byte_offset, int byte_len, char *buf)
-{
-	return fs_devread(reiserfs_blk_desc, part_info, sector, byte_offset,
-			  byte_len, buf);
-}
fs/reiserfs/mode_string.c deleted +0 -124

124 lines not on this page · raw message

fs/reiserfs/reiserfs.c deleted +0 -971

971 lines not on this page · raw message

fs/reiserfs/reiserfs_private.h deleted +0 -509

509 lines not on this page · raw message

include/reiserfs.h deleted +0 -72

72 lines not on this page · raw message

Signature · 1 line
2.43.1
#4 lore raw

Re: [PATCH 2/2] fs: drop reiserfs

Quoted 5 lines · Peter Robinson

It was only included by a single board which doesn't appear to have ever used it for any default use cases so drop the filesystem now that isn't used by any in-tree configurations.

Applied to u-boot/next, thanks!

Signature · 1 line
Tom