Skip to contentSkip to conversation

kselftest-filelock-plan-for-the-five-ofdlocks-tests.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Oct 11

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kselftest/filelock: plan for the five ofdlocks tests
has been removed from the -mm tree. Its filename was
kselftest-filelock-plan-for-the-five-ofdlocks-tests.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Danish Khateeb <[email protected]>
Subject: kselftest/filelock: plan for the five ofdlocks tests
Date: Fri, 25 Sep 2026 15:55:02 -0500

ofdlocks reports five results but plans for four, so even when they all pass it ends with

# Planned tests != run tests (4 != 5)

and exits with KSFT_FAIL, which run_kselftest.sh reports as a failure.

Fixes 33d5b13098fb ("kselftest/filelock: report each test in oftlocks separately")
Assisted-by LLM
Cc Shuah Khan <[email protected]>
Cc Mark Brown <[email protected]>
Cc Jeff Layton <[email protected]>

---

 tools/testing/selftests/filelock/ofdlocks.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/filelock/ofdlocks.c renamed from tools/testing/selftests/filelock/ofdlocks.c~kselftest-filelock-plan-for-the-five-ofdlocks-tests +1 -1
@@ -40,7 +40,7 @@ int main(void)
 	int fd2 = open("/tmp/aa", O_RDONLY);
 
 	ksft_print_header();
-	ksft_set_plan(4);
+	ksft_set_plan(5);
 
 	unlink("/tmp/aa");
 	assert(fd != -1);

_

Patches currently in -mm which might be from [email protected] are