Skip to content
Snippets Groups Projects
Commit 803adaf4 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'disable_copy_file_range_on_EINVAL--I3' into 'master'

Disable copy_file_range on ecryptfs

Closes #3

See merge request GNOME/libglnx!30
parents ef502aab 24231a95
No related branches found
No related tags found
1 merge request!419Update libglnx
......@@ -829,7 +829,7 @@ glnx_regfile_copy_bytes (int fdf, int fdt, off_t max_bytes)
have_cfr = 0;
try_cfr = false;
}
else if (G_IN_SET (errno, EXDEV, EOPNOTSUPP))
else if (G_IN_SET (errno, EXDEV, EINVAL, EOPNOTSUPP))
/* We won't try cfr again for this run, but let's be
* conservative and not mark it as available/unavailable until
* 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