On Jan 02 2023, Pádraig Brady wrote:

> +          /* Note error set is consistent with copy_file_range().  */
> +          bool no_clone_attempted = errno == ENOSYS || is_ENOTSUP (errno)
> +                                    || errno == EINVAL || errno == EBADF
> +                                    || errno == EXDEV || errno == ETXTBSY;

Should this be refactored to avoid duplication?

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



Reply via email to