projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63174e
)
ide-cd: kill whole failed request in ide_cd_do_request()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:04 +0000
(20:15 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:04 +0000
(20:15 +0200)
Untangling cdrom_end_request() uncovered an error in completing
failed requests in ide_cd_do_request(). Fix it.
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-cd.c
b/drivers/ide/ide-cd.c
index
c859eaf
..
978e1c0
100644
(file)
--- a/
drivers/ide/ide-cd.c
+++ b/
drivers/ide/ide-cd.c
@@
-1083,7
+1083,7
@@
out_end:
rq->errors = -EIO;
}
- nsectors = rq->hard_
cu
r_sectors;
+ nsectors = rq->hard_
n
r_sectors;
if (nsectors == 0)
nsectors = 1;