Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
  • Loading branch information
akiradeveloper committed May 18, 2024
1 parent b97c3bd commit 870ad74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azbuse-kmod/src/azbuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ static int azbuse_put_req(struct azbuse_device *azb, struct azbuse_completion __
if (copy_from_user(&cmplt, arg, sizeof (struct azbuse_completion)))
return -EFAULT;

req = azbuse_find_req(azb, xfr.cmplt_req_id);
blk_mq_end_request(req->rq, errno_to_blk_status(xfr.cmplt_err));
req = azbuse_find_req(azb, cmplt.cmplt_req_id);
blk_mq_end_request(req->rq, errno_to_blk_status(cmplt.cmplt_err));
return 0;
}

Expand Down

0 comments on commit 870ad74

Please sign in to comment.