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

Andrea Cervesato andrea.cervesato@suse.com
Thu Aug 13 08:36:31 CEST 2026


Hi Cyril,

> > +	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?

I don't know if we really need to add something in the LTP library,
since we have this check only in file_attr02

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list