|
Lines 356-361
sparse_copy (int src_fd, int dest_fd, char **abuf, size_t buf_size,
Link Here
|
| 356 |
{ |
356 |
{ |
| 357 |
copy_debug.offload = COPY_DEBUG_UNSUPPORTED; |
357 |
copy_debug.offload = COPY_DEBUG_UNSUPPORTED; |
| 358 |
|
358 |
|
|
|
359 |
if (errno == EINVAL) |
| 360 |
break; |
| 361 |
|
| 359 |
/* Consider operation unsupported only if no data copied. |
362 |
/* Consider operation unsupported only if no data copied. |
| 360 |
For example, EPERM could occur if copy_file_range not enabled |
363 |
For example, EPERM could occur if copy_file_range not enabled |
| 361 |
in seccomp filters, so retry with a standard copy. EPERM can |
364 |
in seccomp filters, so retry with a standard copy. EPERM can |