vhost: Include linux/uio.h instead of linux/socket.h
authorAsias He <asias@redhat.com>
Mon, 19 Aug 2013 01:23:19 +0000 (09:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 22:05:04 +0000 (15:05 -0700)
commit35596b2796713c6a9dc05759837fa9f0e156a200
tree98cfa9d8437a405da8e05a2f6b311f9273ffae2c
parent397b41746333ad386d91d23ea0f79481320dcdcc
vhost: Include linux/uio.h instead of linux/socket.h

memcpy_fromiovec is moved from net/core/iovec.c to lib/iovec.c.
linux/uio.h provides the declaration for memcpy_fromiovec.

Include linux/uio.h instead of inux/socket.h for it.

Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/vhost.c