summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio_iommu_spapr_tce.c
diff options
context:
space:
mode:
authorChristoph Hellwig2017-04-05 19:21:04 +0200
committerJens Axboe2017-04-08 19:25:38 +0200
commit0f5d690f7bf1b1a5354c61ac5b9d69a4329e218f (patch)
treeaa5dc525cfa91d3758d8cabc5de2edcfc077af34 /drivers/vfio/vfio_iommu_spapr_tce.c
parentmd: support REQ_OP_WRITE_ZEROES (diff)
downloadkernel-qcow2-linux-0f5d690f7bf1b1a5354c61ac5b9d69a4329e218f.tar.gz
kernel-qcow2-linux-0f5d690f7bf1b1a5354c61ac5b9d69a4329e218f.tar.xz
kernel-qcow2-linux-0f5d690f7bf1b1a5354c61ac5b9d69a4329e218f.zip
dm io: discards don't take a payload
Fix up do_region to not allocate a bio_vec for discards. We've got rid of the discard payload allocated by the caller years ago. Obviously this wasn't actually harmful given how long it's been there, but it's still good to avoid the pointless allocation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/vfio/vfio_iommu_spapr_tce.c')
0 files changed, 0 insertions, 0 deletions