git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: implement and enforce request peek/start/fetch
[safe/jmp/linux-2.6]
/
drivers
/
block
/
hd.c
diff --git
a/drivers/block/hd.c
b/drivers/block/hd.c
index
288ab63
..
961de56
100644
(file)
--- a/
drivers/block/hd.c
+++ b/
drivers/block/hd.c
@@
-592,12
+592,11
@@
repeat:
del_timer(&device_timer);
if (!hd_req) {
- hd_req =
elv_next
_request(hd_queue);
+ hd_req =
blk_fetch
_request(hd_queue);
if (!hd_req) {
do_hd = NULL;
return;
}
- blkdev_dequeue_request(hd_req);
}
req = hd_req;