Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180507
b: refs/heads/master
c: 7dec9cf
h: refs/heads/master
i:
  180505: 3a27b26
  180503: b6dad79
v: v3
  • Loading branch information
Swen Schillig authored and James Bottomley committed Feb 8, 2010
1 parent 277d671 commit 0f08ea0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9858ae38011d699d4c2fa7f3493a47accf43a0f5
refs/heads/master: 7dec9cf1dfa283feca4b761160112ea4838a6a8c
9 changes: 4 additions & 5 deletions trunk/drivers/s390/scsi/zfcp_fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,12 +671,11 @@ static void zfcp_fc_ct_els_job_handler(void *data)
{
struct fc_bsg_job *job = data;
struct zfcp_fsf_ct_els *zfcp_ct_els = job->dd_data;
int status = zfcp_ct_els->status;
int reply_status;
struct fc_bsg_reply *jr = job->reply;

reply_status = status ? FC_CTELS_STATUS_REJECT : FC_CTELS_STATUS_OK;
job->reply->reply_data.ctels_reply.status = reply_status;
job->reply->reply_payload_rcv_len = job->reply_payload.payload_len;
jr->reply_payload_rcv_len = job->reply_payload.payload_len;
jr->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK;
jr->result = zfcp_ct_els->status ? -EIO : 0;
job->job_done(job);
}

Expand Down

0 comments on commit 0f08ea0

Please sign in to comment.