commit 262221320c6ddd094ee8059c327748dde1644936
tree ede8e9a67c8f28ee8308185d41e6c8efc7b5cff8
parent 8a3f003dd4ff3d9e5a57ba9af6a221cd31237935
author Po-Hsu Lin via ltp <ltp@lists.linux.it> 2026-01-09 00:21:52 +0800
committer Andrea Cervesato <andrea.cervesato@suse.com> 2026-01-13 11:22:23 +0100

    listmount04.c: update struct mnt_id_req support to kernel >= 6.17.9
    
    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].
    
    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
    
    v2: add comments for this change into the code.
    v3: correct the RST syntax and move comment as suggested by Petr Vorel.
    v4: correct the patch title.
    
    Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
    Reviewed-by: Petr Vorel <pvorel@suse.cz>
    Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>


:100644 100644 2b8b49101ccb1f1659feea06695ec01644abd80c 919f4c85421c2b24c7f8a6e5d1a12f37a9a6be28 M	testcases/kernel/syscalls/listmount/listmount04.c
