mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
block: implement an unprep function corresponding directly to prep
Reviewed-by: FUJITA Tomonori <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
e597cd09f7
commit
28018c242a
4 changed files with 47 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ static void scsi_unprep_request(struct request *req)
|
|||
{
|
||||
struct scsi_cmnd *cmd = req->special;
|
||||
|
||||
req->cmd_flags &= ~REQ_DONTPREP;
|
||||
blk_unprep_request(req);
|
||||
req->special = NULL;
|
||||
|
||||
scsi_put_command(cmd);
|
||||
|
|
|
|||
Loading…
Reference in a new issue