]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit99ff7108eebd487bff95e026067e8b0319b8fcac
tree6cce47f1276bc51e1eb29e8cd623e78102ff4c6a
parent557ad8a4fa769027315bcac1922248c4db8470bf
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]