Return EIO instead of EINVAL for incomplete EC objects

This commit is contained in:
Vitaliy Filippov
2023-05-11 01:15:23 +03:00
parent a409598b16
commit 8cac795445
2 changed files with 23 additions and 18 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ resume_1:
if (!cur_op->rmw_buf)
{
// Refuse partial overwrite of an incomplete object
cur_op->reply.hdr.retval = -EINVAL;
cur_op->reply.hdr.retval = -EIO;
goto continue_others;
}
}