Error codes in IO path changed to OCF-specific
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
@@ -584,7 +584,7 @@ static int _ocf_engine_refresh(struct ocf_request *req)
|
||||
ENV_BUG();
|
||||
} else {
|
||||
ENV_WARN(true, "Inconsistent request");
|
||||
req->error = -EINVAL;
|
||||
req->error = -OCF_ERR_INVAL;
|
||||
|
||||
/* Complete request */
|
||||
req->complete(req, req->error);
|
||||
|
Reference in New Issue
Block a user