Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204277
b: refs/heads/master
c: caf19d3
h: refs/heads/master
i:
  204275: d084081
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Jul 28, 2010
1 parent b422db2 commit b5107d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 240778e821f596a6954116107c5cc3456df84f81
refs/heads/master: caf19d38607108304cd8cc67ed21378017f69e8a
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,8 @@ sg_common_write(Sg_fd * sfp, Sg_request * srp,
return k; /* probably out of space --> ENOMEM */
}
if (sdp->detached) {
if (srp->bio)
blk_end_request_all(srp->rq, -EIO);
sg_finish_rem_req(srp);
return -ENODEV;
}
Expand Down

0 comments on commit b5107d2

Please sign in to comment.