copy: improve error code

This commit is contained in:
Thomas Schoebel-Theuer 2023-05-17 10:15:54 +02:00
parent f5fa4a19c1
commit 1a53f589d4

View File

@ -770,7 +770,7 @@ restart:
break;
}
if (unlikely(brick->is_aborting)) {
progress = -EINTR;
progress = -ECANCELED;
break;
}
/* Wait until any previous writeouts have finished.