aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lmb.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-05-18 08:38:28 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-05-18 08:38:28 -0400
commit6c3b46f74587d46e71b8c2b78fdca626a3aca280 (patch)
tree3d48a026a55c615d4072fc4b75dbca20949bad81 /lib/lmb.c
parent77f6bf57ba9d2c50173536dbfdacdab27cb867ca (diff)
virtio_blk: don't blindly derefence req->rq_disk
request->rq_disk is only set for FS requests or BLOCK_PC requests originating from the generic block layer scsi ioctls. It's not set for requests origination from other soures or internal cache flush commands implemented by the patch I'll send after this. So instead of using it to get at the private data in do_virtblk_request setup queue->queuedata and use it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/lmb.c')
0 files changed, 0 insertions, 0 deletions