[LTP] [PATCH] syscalls/inotify13: Add the linux-git tag for rename event fix

jingxian.li jingxian.li@shopee.com
Tue Nov 24 07:18:14 CET 2026


inotify13 fails when adjacent rename events with different cookies are
coalesced. This is fixed by kernel commit 581230d2ec3c ("inotify: do not
coalesce rename events").

Add the linux-git tag so that LTP prints the missing kernel fix hint
when the test fails.

Signed-off-by: jingxian.li <jingxian.li@shopee.com>
---
 testcases/kernel/syscalls/inotify/inotify13.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testcases/kernel/syscalls/inotify/inotify13.c b/testcases/kernel/syscalls/inotify/inotify13.c
index 9746d70ab..8d961dcb8 100644
--- a/testcases/kernel/syscalls/inotify/inotify13.c
+++ b/testcases/kernel/syscalls/inotify/inotify13.c
@@ -204,6 +204,10 @@ static struct tst_test test = {
 	.setup = setup,
 	.cleanup = cleanup,
 	.needs_tmpdir = 1,
+	.tags = (const struct tst_tag[]) {
+		{"linux-git", "581230d2ec3c0380917d1255792508851e7c4627"},
+		{}
+	},
 };
 
 #else
-- 
2.43.0



More information about the ltp mailing list