]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
check: remove the deprecation of sessionid v2025.03.09
authorZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 09:49:24 +0000 (17:49 +0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:52:18 +0000 (21:52 +0800)
As "privatens" way isn't recommended temporarily, it can't replace
"sessionid" way for now. So remove the deprecation.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
check

diff --git a/check b/check
index cb2f19d089dc09b54103fc73bb70794fb01e32df..33eb3e0859e5788c953cbb2bd90ca903cafa57d5 100755 (executable)
--- 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 )