Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226799
b: refs/heads/master
c: d889b30
h: refs/heads/master
i:
  226797: df4e5b0
  226795: 3435733
  226791: 897687d
  226783: 9d26d2a
v: v3
  • Loading branch information
Yi Zou authored and James Bottomley committed Dec 21, 2010
1 parent 7b6a413 commit 2bd6269
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 9b90dc80ba2e566a48585174b1e5ab00e16f0456
refs/heads/master: d889b30a9196c453120ca54323fe80acb4c27b94
8 changes: 7 additions & 1 deletion trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,13 @@ static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp)
}
lport->tt.exch_done(seq);
}
fc_io_compl(fsp);
/*
* Some resets driven by SCSI are not I/Os and do not have
* SCSI commands associated with the requests. We should not
* call I/O completion if we do not have a SCSI command.
*/
if (fsp->cmd)
fc_io_compl(fsp);
}

/**
Expand Down

0 comments on commit 2bd6269

Please sign in to comment.