projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8316982
)
memstick: change to use __blk_end_request()
author
Kiyoshi Ueda
<k-ueda@ct.jp.nec.com>
Wed, 1 Oct 2008 14:12:15 +0000
(10:12 -0400)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:20 +0000
(08:56 +0200)
This patch converts memstick to use __blk_end_request() directly
so that end_{queued|dequeued}_request() can be removed.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Cc: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/memstick/core/mspro_block.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/memstick/core/mspro_block.c
b/drivers/memstick/core/mspro_block.c
index 82bf649ef138aa5b2fc3c745ddaf677cfd6ac5d8..6e291bf8237adaa0d7c5ea84f8ffda8e9ee440e3 100644
(file)
--- a/
drivers/memstick/core/mspro_block.c
+++ b/
drivers/memstick/core/mspro_block.c
@@
-828,7
+828,7
@@
static void mspro_block_submit_req(struct request_queue *q)
if (msb->eject) {
while ((req = elv_next_request(q)) != NULL)
-
end_queued_request(req, -ENODEV
);
+
__blk_end_request(req, -ENODEV, blk_rq_bytes(req)
);
return;
}