summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2019-10-30 16:07:17 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2019-11-22 13:29:49 +0100
commit58ada94f95f71d4f73197ab0e9603dbba6e47fe3 (patch)
treeaa48751b694d11b6d946cb5e9c717105b28dbe16 /ipc/shm.c
parentvirtiofs: Fix old-style declaration (diff)
downloadlinux-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