[LTP] [PATCH v7] fsconfig03: SKIP check return value for old kernel

Petr Vorel pvorel@suse.cz
Thu Mar 2 11:03:56 CET 2023


Hi Wei,

...
> +	} else {
> +		for (size_t i = 0; i < 5000; i++)
> +			fsconfig(fd, FSCONFIG_SET_STRING, "\x00", val, 0);
Why calling fsconfig() without any check for old kernels? It really looks
strange we don't care about the result. That would deserve an explanation in the
commit message.

Kind regards,
Petr


More information about the ltp mailing list