[LTP] [PATCH] listmount04.c: update struct mnt_id_req support to kernel >= 6.17
Petr Vorel
pvorel@suse.cz
Wed Jan 7 11:38:22 CET 2026
...
> > > - 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.
> > Hi Petr,
> thanks for the feedback,
> in this case should I also modify the macros to BEFORE_6_17_9 and
> AFTER_6_17_9?
Yes, probably the best will be to use BEFORE_6_17_9 and put a comment that
78f0e33cd6c93 ("fs/namespace: correctly handle errors > > > returned by grab_requested_mnt_ns")
from 6.18 was backported to 6.17.9.
Thank you!
Kind regards,
Petr
More information about the ltp
mailing list