projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d7de0
)
ide-tape: fix handling of non-special requests in ->end_request method
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:10 +0000
(20:13 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:10 +0000
(20:13 +0100)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-tape.c
b/drivers/ide/ide-tape.c
index 3cbca3f4628a84a25f200dae7553214a605025a8..d71a584f076547661674cc6876fe7e37cc9391ca 100644
(file)
--- a/
drivers/ide/ide-tape.c
+++ b/
drivers/ide/ide-tape.c
@@
-1690,6
+1690,11
@@
static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects)
if (error)
tape->failed_pc = NULL;
+ if (!blk_special_request(rq)) {
+ ide_end_request(drive, uptodate, nr_sects);
+ return 0;
+ }
+
spin_lock_irqsave(&tape->spinlock, flags);
/* The request was a pipelined data transfer request */