[LTP] [PATCH] listmount04.c: update struct mnt_id_req support to kernel >= 6.17
Petr Vorel
pvorel@suse.cz
Tue Jan 6 13:04:47 CET 2026
> The kernel change 78f0e33cd6c93 ("fs/namespace: correctly handle errors
> returned by grab_requested_mnt_ns") from 6.18 has been ported to upstream
> 6.17.9 [1][2].
Good catch.
> Therefore change the expectation from >= 6.18 to >= 6.17 accodingly.
> [1] https://lwn.net/Articles/1047684/
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.17.9&id=8ff97ade
...
> static void setup(void)
> {
> - if (tst_kvercmp(6, 18, 0) >= 0)
> - kver = AFTER_6_18;
> + if (tst_kvercmp(6, 17, 0) >= 0)
Shouldn't we match 6.17.9 then?
It's not about the fix but about a kernel change.
Kind regards,
Petr
More information about the ltp
mailing list