diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2019-10-30 16:07:17 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-11-22 13:29:49 +0100 |
commit | 58ada94f95f71d4f73197ab0e9603dbba6e47fe3 (patch) | |
tree | aa48751b694d11b6d946cb5e9c717105b28dbe16 /ipc/shm.c | |
parent | virtiofs: Fix old-style declaration (diff) | |
download | linux-58ada94f95f71d4f73197ab0e9603dbba6e47fe3.tar.xz linux-58ada94f95f71d4f73197ab0e9603dbba6e47fe3.zip |
virtiofs: Use a common function to send forget
Currently we are duplicating logic to send forgets at two
places. Consolidate the code by calling one helper function.
This also uses virtqueue_add_outbuf() instead of
virtqueue_add_sgs(). Former is simpler to call.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions