mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
memstick: change to use __blk_end_request()
This patch converts memstick to use __blk_end_request() directly
so that end_{queued|dequeued}_request() can be removed.
Signed-off-by: Kiyoshi Ueda <[email protected]>
Signed-off-by: Jun'ichi Nomura <[email protected]>
Cc: Alex Dubov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
1 parent
8316982ac0
commit
2a9df5055a
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user