diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-02-25 15:20:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-27 21:53:44 +0100 |
commit | 0d79a493e507437a2135e5ac1a447d4d503488d8 (patch) | |
tree | eeda1dacebc689cf8e39801af7218f1c5a10fb29 /lib/rhashtable.c | |
parent | vhost: cleanup iterator update logic (diff) | |
download | linux-0d79a493e507437a2135e5ac1a447d4d503488d8.tar.xz linux-0d79a493e507437a2135e5ac1a447d4d503488d8.zip |
vhost: drop hard-coded num_buffers size
The 2 that we use for copy_to_iter comes from sizeof(u16),
it used to be that way before the iov iter update.
Fix it up, making it obvious the size of stack access
is right.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions