diff options
author | James Bottomley <James.Bottomley@suse.de> | 2010-07-01 19:49:17 +0900 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:23:47 +0200 |
commit | 28018c242a4ec7017bbbf81d2d3952f820a27118 (patch) | |
tree | 03732bef20d0e4dad30d81d9b9ad9ffcf5a2e41c /drivers/scsi/scsi_lib.c | |
parent | e597cd09f711b28b8466ebdc2f12e55b44fa81e4 (diff) | |
download | linux-28018c242a4ec7017bbbf81d2d3952f820a27118.tar.bz2 |
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>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 5f1160841b0e..ee836193f531 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -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); |