Hi Amir, > > LTP hasn't defined yet any policy about changing errnos, > > as it's probably best to check whether change was intentional > > (like your obvious fixes) or not. > IIUC, copy_file_range02 was written after v5.3 changes to verify that > copy_file_range > stays unbroken. > As such, I would suggest that you check if kernel supports cross-fs copy, like > copy_file_range01 does and if it doesn't, skip the test entirely. > If some one ever backports cross-fs copy to any distro stable kernel, then one > would better also backkport all of those API fixes, otherwise test will fail. Thanks for a tip, I'll send a patch today. > Thanks, > Amir. Kind regards, Petr