diff options
| author | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2016-02-16 15:59:44 +0100 |
|---|---|---|
| committer | Alistair Strachan <astrachan@google.com> | 2019-05-14 17:56:52 -0700 |
| commit | ea4e49b0dff9cacd52db01dbef9dd7e1ae4bb858 (patch) | |
| tree | 1abf42d597dd3e6c1e0f0019b4003e412232c145 /lib/memory-notifier-error-inject.c | |
| parent | 7adf5c331347eab03a0ee78b408165a907c11e30 (diff) | |
UPSTREAM: vhost: rename vhost_init_used()
Looking at how callers use this, maybe we should just rename init_used
to vhost_vq_init_access. The _used suffix was a hint that we
access the vq used ring. But maybe what callers care about is
that it must be called after access_ok.
Also, this function manipulates the vq->is_le field which isn't related
to the vq used ring.
This patch simply renames vhost_init_used() to vhost_vq_init_access() as
suggested by Michael.
No behaviour change.
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 80f7d0301e7913f704d3505722f806717c61dff5)
Bug: 121166534
Test: Ran cuttlefish with android-4.4 + VSOCKETS, VMWARE_VMCI_VSOCKETS
Signed-off-by: Alistair Strachan <astrachan@google.com>
Change-Id: If8ef33d7f00e515afbff3adc7b00607c4a58fdf6
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
