commit | 28018c242a4ec7017bbbf81d2d3952f820a27118 | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@suse.de> | Thu Jul 01 19:49:17 2010 +0900 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat Aug 07 18:23:47 2010 +0200 |
tree | 03732bef20d0e4dad30d81d9b9ad9ffcf5a2e41c | |
parent | e597cd09f711b28b8466ebdc2f12e55b44fa81e4 [diff] [blame] |
block: implement an unprep function corresponding directly to prep Reviewed-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 5f11608..ee83619 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c
@@ -85,7 +85,7 @@ { struct scsi_cmnd *cmd = req->special; - req->cmd_flags &= ~REQ_DONTPREP; + blk_unprep_request(req); req->special = NULL; scsi_put_command(cmd);