Skip to content
Snippets Groups Projects
Commit cd5a57e8 authored by Colin Walters's avatar Colin Walters
Browse files

Merge branch 'pr/cfr-nfs' into 'master'

glnx-fdio: handle EOPNOTSUPP for copy_file_range

See merge request GNOME/libglnx!18
parents 3c285a7b 7e3a1995
Branches
Tags
No related merge requests found
...@@ -826,7 +826,7 @@ glnx_regfile_copy_bytes (int fdf, int fdt, off_t max_bytes) ...@@ -826,7 +826,7 @@ glnx_regfile_copy_bytes (int fdf, int fdt, off_t max_bytes)
have_cfr = 0; have_cfr = 0;
try_cfr = false; try_cfr = false;
} }
else if (errno == EXDEV) else if (G_IN_SET (errno, EXDEV, EOPNOTSUPP))
/* We won't try cfr again for this run, but let's be /* We won't try cfr again for this run, but let's be
* conservative and not mark it as available/unavailable until * conservative and not mark it as available/unavailable until
* we know for sure. * we know for sure.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment