vhost: vhost_scsi_handle_vq() should just use copy_from_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Dec 2014 21:03:43 +0000 (16:03 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Feb 2015 06:34:16 +0000 (01:34 -0500)
commit57dd8a0735aabff4862025cf64ad94da3d80e620
tree6cce47f1276bc51e1eb29e8cd623e78102ff4c6a
parentba7438aed924133df54a60e4cd5499d359bcf2a8
vhost: vhost_scsi_handle_vq() should just use copy_from_user()

it has just verified that it asks no more than the length of the
first segment of iovec.

And with that the last user of stuff in lib/iovec.c is gone.
RIP.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Nicholas A. Bellinger <nab@linux-iscsi.org>
Cc: kvm@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/vhost/scsi.c
include/linux/uio.h
lib/Makefile
lib/iovec.c [deleted file]