https://bugs.kde.org/show_bug.cgi?id=514659

            Bug ID: 514659
           Summary: ltp 20250930 vs linux 6.18.3 doesn't build
    Classification: Developer tools
           Product: valgrind
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

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 <[email protected]>
Date:   Wed Dec 3 17:12:26 2025 +0900

    listmount04: require kernel version 6.11

commit 2d066ead3d6ef504c82551b12306e751d23ddb45
Author: Wei Gao <[email protected]>
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 <[email protected]>
Date:   Fri Jan 9 00:21:52 2026 +0800

    listmount04.c: update struct mnt_id_req support to kernel >= 6.17.9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to