With recent 6.18.3 linux kernels struct mnt_id_req seems to have changed and the listmount04.c testcase no longer builds: listmount04.c: In function ‘run’: listmount04.c:125:20: error: ‘struct mnt_id_req’ has no member named ‘spare’ 125 | req->spare = tc->spare; | ^~ make[3]: *** [../../../../include/mk/rules.mk:48: listmount04] Error 1 There seems to be a couple of upstream ltp commits that might fix this: commit 36c51649dcc175f28fd500c01ba8cdd596f15aa4 Author: Masahiro Yamada <masahiro.yamada@canonical.com> Date: Wed Dec 3 17:12:26 2025 +0900 listmount04: require kernel version 6.11 commit 2d066ead3d6ef504c82551b12306e751d23ddb45 Author: Wei Gao <wegao@suse.com> Date: Sun Dec 14 02:15:20 2025 +0000 listmount04.c: Update struct mnt_id_req support for kernel >= 6.18 commit 262221320c6ddd094ee8059c327748dde1644936 Author: Po-Hsu Lin via ltp <ltp@lists.linux.it> Date: Fri Jan 9 00:21:52 2026 +0800 listmount04.c: update struct mnt_id_req support to kernel >= 6.17.9
commit ad6a896e3b0f374064d74edd0e5d45d0584d7c79 Author: Mark Wielaard <mark@klomp.org> Date: Thu Jan 15 18:58:31 2026 +0100 Backport LTP patches to make listmount04 compile against newer kernels This adds three upstream patches to make the listmount04 testcase build again: commit 36c51649dcc175f28fd500c01ba8cdd596f15aa4 Author: Masahiro Yamada <masahiro.yamada@canonical.com> Date: Wed Dec 3 17:12:26 2025 +0900 listmount04: require kernel version 6.11 commit 2d066ead3d6ef504c82551b12306e751d23ddb45 Author: Wei Gao <wegao@suse.com> Date: Sun Dec 14 02:15:20 2025 +0000 listmount04.c: Update struct mnt_id_req support for kernel >= 6.18 commit 262221320c6ddd094ee8059c327748dde1644936 Author: Po-Hsu Lin via ltp <ltp@lists.linux.it> Date: Fri Jan 9 00:21:52 2026 +0800 listmount04.c: update struct mnt_id_req support to kernel >= 6.17.9 https://bugs.kde.org/show_bug.cgi?id=514659