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

Petr Vorel
2025-12-17T13:16:05Z

> 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