All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.com>
To: fstests@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH] fstests: remove reiserfs support
Date: Wed, 19 Feb 2025 23:17:43 +0100	[thread overview]
Message-ID: <20250219221743.20161-1-dsterba@suse.com> (raw)

The linux kernel removed Reiserfs support in 6.13 so remove it from the
tests as well.

Signed-off-by: David Sterba <dsterba@suse.com>
---

Arguably reiser4 support could be removed as well as there's no recent
upstream activity.

 common/config     | 7 -------
 common/quota      | 4 ++--
 common/rc         | 5 +----
 tests/generic/740 | 4 ----
 4 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/common/config b/common/config
index 77f3fc153eb731..a9a1ce6c3655cf 100644
--- a/common/config
+++ b/common/config
@@ -384,10 +384,6 @@ _common_mount_opts()
 	f2fs)
 		echo "-o acl,user_xattr $F2FS_MOUNT_OPTIONS"
 		;;
-	reiserfs)
-		# acls & xattrs aren't turned on by default on reiserfs
-		echo "-o acl,user_xattr $REISERFS_MOUNT_OPTIONS"
-		;;
        reiser4)
 		# acls & xattrs aren't supported by reiser4
 		echo $REISER4_MOUNT_OPTIONS
@@ -441,9 +437,6 @@ _mkfs_opts()
 	ceph)
 		export MKFS_OPTIONS=$CEPHFS_MKFS_OPTIONS
 		;;
-	reiserfs)
-		export MKFS_OPTIONS="$REISERFS_MKFS_OPTIONS -q"
-		;;
        reiser4)
 		export MKFS_OPTIONS=$REISER4_MKFS_OPTIONS
 		;;
diff --git a/common/quota b/common/quota
index 8688116c6547a9..9c3d1bb4ace4bb 100644
--- a/common/quota
+++ b/common/quota
@@ -12,7 +12,7 @@ _require_quota()
     [ -n "$QUOTA_PROG" ] || _notrun "Quota user tools not installed"
 
     case $FSTYP in
-    ext2|ext3|ext4|f2fs|reiserfs)
+    ext2|ext3|ext4|f2fs)
 	if [ ! -d /proc/sys/fs/quota ]; then
 	    _notrun "Installed kernel does not support quotas"
 	fi
@@ -347,7 +347,7 @@ _check_quota_usage()
 
 	VFS_QUOTA=0
 	case $FSTYP in
-	ext2|ext3|ext4|f2fs|reiserfs|gfs2|bcachefs)
+	ext2|ext3|ext4|f2fs|gfs2|bcachefs)
 		VFS_QUOTA=1
 		quotaon -f -u -g $SCRATCH_MNT 2>/dev/null
 		;;
diff --git a/common/rc b/common/rc
index 6840bb1dfa1001..9d16df5fc0d5ae 100644
--- a/common/rc
+++ b/common/rc
@@ -1163,7 +1163,7 @@ _try_scratch_mkfs_sized()
 	btrfs)
 		def_blksz=`echo $MKFS_OPTIONS | sed -rn 's/.*-s ?+([0-9]+).*/\1/p'`
 		;;
-	ext2|ext3|ext4|reiser4|ocfs2|reiserfs)
+	ext2|ext3|ext4|reiser4|ocfs2)
 		def_blksz=`echo $MKFS_OPTIONS | sed -rn 's/.*-b ?+([0-9]+).*/\1/p'`
 		;;
 	udf)
@@ -1267,9 +1267,6 @@ _try_scratch_mkfs_sized()
 	jfs)
 		${MKFS_PROG} -t $FSTYP $MKFS_OPTIONS "$@" $SCRATCH_DEV $blocks
 		;;
-	reiserfs)
-		${MKFS_PROG} -t $FSTYP $MKFS_OPTIONS -b $blocksize "$@" $SCRATCH_DEV $blocks
-		;;
 	reiser4)
 		# mkfs.resier4 requires size in KB as input for creating filesystem
 		$MKFS_REISER4_PROG $MKFS_OPTIONS -y -b $blocksize "$@" $SCRATCH_DEV \
diff --git a/tests/generic/740 b/tests/generic/740
index 10817521cc9342..c167dbef2ff68a 100755
--- a/tests/generic/740
+++ b/tests/generic/740
@@ -63,10 +63,6 @@ do
 		# "quick" format that doesn't zero the entire device
 		postargs="--quick"
 		;;
-	reiserfs|reiser4)
-		preop="echo y |"
-		preargs="-f"
-		;;
 	*)
 		;;
 	esac
-- 
2.47.1


             reply	other threads:[~2025-02-19 22:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-19 22:17 David Sterba [this message]
2025-02-19 22:39 ` [PATCH] fstests: remove reiserfs support Darrick J. Wong
2025-02-20 20:22 ` Zorro Lang
2025-02-20 20:37   ` David Sterba
2025-02-21  5:19     ` Zorro Lang
2025-02-21 10:59       ` David Sterba
2025-02-21 15:45         ` Zorro Lang
2025-02-26 14:41           ` David Sterba
2025-02-27  7:35             ` Zorro Lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250219221743.20161-1-dsterba@suse.com \
    --to=dsterba@suse.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.