virtio-scsi: avoid cancelling uninitialized work items
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Jun 2014 11:34:56 +0000 (13:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 11:29:33 +0000 (13:29 +0200)
Calling the workqueue interface on uninitialized work items isn't a
good idea even if they're zeroed. It's not failing catastrophically only
through happy accidents.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/virtio_scsi.c

Simple merge