[LTP] [PATCH v8] fanotify22.c: handle multiple asynchronous error events

Petr Vorel pvorel@suse.cz
Wed May 13 12:33:57 CEST 2026


Hi all,

...
>  	if (memcmp(&fid->fsid, &ex->fid->fsid, sizeof(fid->fsid))) {
> -		tst_res(TFAIL, "%s: Received bad FSID type (%x...!=%x...)",
> -			ex->name, FSID_VAL_MEMBER(fid->fsid, 0),
> +		tst_res(TFAIL, "Received bad FSID type (%x...!=%x...)",
> +			FSID_VAL_MEMBER(fid->fsid, 0),
>  			ex->fid->fsid.val[0]);

I dared to factor out this unrelated change to a separated commit and merge the
patchset.

Removing ex->name which is ~ 50% of changes is completely unrelated.
When Andrea suggested it [1] it was for a new additions. Although this this
change is not a complicated, fanotify tests are quite complex, that's why it's
better to separate non-related change.

Thanks Jan for helping with the review.

Kind regards,
Petr

[1] https://lore.kernel.org/ltp/69c648d0.050a0220.2ca52b.c494@mx.google.com/


More information about the ltp mailing list