diff options
author | Christoph Hellwig <hch@lst.de> | 2010-06-19 17:26:47 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:22:29 +0200 |
commit | 4c4762d10faf93167b84ee03e4b58dd62012b06f (patch) | |
tree | 5819c7acb3e457885e77edf124196e62b09fd387 /drivers/block/ub.c | |
parent | virtio_blk: add default case to cmd type switch (diff) | |
download | linux-4c4762d10faf93167b84ee03e4b58dd62012b06f.tar.xz linux-4c4762d10faf93167b84ee03e4b58dd62012b06f.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 034b34440ffa..aaf27fb4efd6 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; |