public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Zorro Lang <zlang@kernel.org>
To: fstests@vger.kernel.org
Subject: [PATCH v2 2/2] check: remove the deprecation of sessionid
Date: Thu,  6 Mar 2025 17:49:24 +0800	[thread overview]
Message-ID: <20250306094924.1353269-3-zlang@kernel.org> (raw)
In-Reply-To: <20250306094924.1353269-1-zlang@kernel.org>

As "privatens" way isn't recommended temporarily, it can't replace
"sessionid" way for now. So remove the deprecation.

Signed-off-by: Zorro Lang <zlang@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
---
 check | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/check b/check
index cb2f19d08..33eb3e085 100755
--- a/check
+++ b/check
@@ -695,15 +695,6 @@ function _adjust_oom_score() {
 }
 _adjust_oom_score -500
 
-warn_deprecated_sessionid()
-{
-	if [ -z "$WARNED_DEPRECATED_SESSIONID" ]; then
-		echo "WARNING: Running fstests without private pid/mount namespace"
-		echo "support is deprecated and will be removed in February 2026."
-		WARNED_DEPRECATED_SESSIONID=1
-	fi
-}
-
 # ...and make the tests themselves somewhat more attractive to it, so that if
 # the system runs out of memory it'll be the test that gets killed and not the
 # test framework.  The test is run in a separate process without any of our
@@ -903,8 +894,6 @@ function run_section()
 	seqres="$check"
 	_check_test_fs
 
-	test -n "$HAVE_PRIVATENS" || warn_deprecated_sessionid
-
 	loop_status=()	# track rerun-on-failure state
 	local tc_status ix
 	local -a _list=( $list )
-- 
2.47.1


      parent reply	other threads:[~2025-03-06  9:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-06  9:49 [PATCH v2 0/2] isolate privatens way Zorro Lang
2025-03-06  9:49 ` [PATCH v2 1/2] check: disable HAVE_PRIVATENS by default Zorro Lang
2025-03-06 11:05   ` Dave Chinner
2025-03-06 13:47     ` Zorro Lang
2025-03-06 20:56       ` Dave Chinner
2025-03-07 15:47         ` Zorro Lang
2025-03-11 21:19           ` Dave Chinner
2025-03-06  9:49 ` Zorro Lang [this message]

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=20250306094924.1353269-3-zlang@kernel.org \
    --to=zlang@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox