Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23379
b: refs/heads/master
c: 842d3fb
h: refs/heads/master
i:
  23377: 24eadc9
  23375: 3941a5b
v: v3
  • Loading branch information
Stefan Bader authored and Linus Torvalds committed Mar 24, 2006
1 parent d6adf6a commit de53f82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 20c644680af1ef9a6b36c0873f59498c98b07ab1
refs/heads/master: 842d3fba94ed94cc5de7b712e0f4218ce6e4fd73
9 changes: 5 additions & 4 deletions trunk/drivers/s390/char/tape_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1064,15 +1064,16 @@ __tape_do_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb)
/*
* If the condition code is not zero and the start function bit is
* still set, this is an deferred error and the last start I/O did
* not succeed. Restart the request now.
* not succeed. At this point the condition that caused the deferred
* error might still apply. So we just schedule the request to be
* started later.
*/
if (irb->scsw.cc != 0 && (irb->scsw.fctl & SCSW_FCTL_START_FUNC)) {
PRINT_WARN("(%s): deferred cc=%i. restaring\n",
cdev->dev.bus_id,
irb->scsw.cc);
rc = __tape_start_io(device, request);
if (rc)
__tape_end_request(device, request, rc);
request->status = TAPE_REQUEST_QUEUED;
schedule_work(&device->tape_dnr);
return;
}

Expand Down

0 comments on commit de53f82

Please sign in to comment.