summaryrefslogtreecommitdiffstats
path: root/drivers/block/ub.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-19 17:26:47 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:22:29 +0200
commit4c4762d10faf93167b84ee03e4b58dd62012b06f (patch)
tree5819c7acb3e457885e77edf124196e62b09fd387 /drivers/block/ub.c
parent15fa6e81650a167f82dc0d478f290f1cffa9183d (diff)
downloadop-kernel-dev-4c4762d10faf93167b84ee03e4b58dd62012b06f.zip
op-kernel-dev-4c4762d10faf93167b84ee03e4b58dd62012b06f.tar.gz
block: fix some more cmd_type cleanup fallout
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/ub.c')
-rw-r--r--drivers/block/ub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c
index 034b344..aaf27fb 100644
--- a/drivers/block/ub.c
+++ b/drivers/block/ub.c
@@ -648,7 +648,7 @@ static int ub_request_fn_1(struct ub_lun *lun, struct request *rq)
return 0;
}
- if (lun->changed && rq->cmd_type != REQ_TYPE_BLOCK_PC)
+ if (lun->changed && rq->cmd_type != REQ_TYPE_BLOCK_PC) {
blk_start_request(rq);
ub_end_rq(rq, SAM_STAT_CHECK_CONDITION);
return 0;
OpenPOWER on IntegriCloud