[LTP] [PATCH] refluxfs: Check kernel reflink support before mount

Cyril Hrubis chrubis@suse.cz
Wed Aug 12 17:49:28 CEST 2026


Hi!
> +	if (TST_RET == -1 && TST_ERR == EOPNOTSUPP)
> +		tst_brk(TCONF, "Kernel does not support XFS reflinks");

Wouldn't it make more sense to add the check for EOPNOTSUPP into the
tst_test.c library?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list