[LTP] [PATCH v6] listmount04.c: Update case support mnt_id_req.mnt_ns_fd

Petr Vorel pvorel@suse.cz
Wed Dec 17 14:15:39 CET 2025


> Hi!
> >  static void run(unsigned int n)
> >  {
> >  	struct tcase *tc = &tcases[n];
> > -	struct mnt_id_req *req = NULL;
> > +	mnt_id_req *req = NULL;
> > +
> > +	if (tc->kver && tc->kver != kver) {
> > +		tst_res(TCONF, "Skip the case that is not suitable for the current kernel version");

> I would shorten this message a bit "Test not suitable for current kernel version"


> Because the information that the test is skipped is already in the TCONF
> flag.

+1. I noticed that as well, just forget to point this out.

I modified the message and also rewrite commit message to get more info what was
needed to do.

Thanks you all, finally we have CI fixed (+ compilation of the package on various
distros) :).

> Otherwise: Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

@Cyril FYI: RBT should be on a separate line otherwise it's not added by
patchwork when applying the patch.

Kind regards,
Petr


More information about the ltp mailing list