summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2019-10-30 11:07:17 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2019-11-22 13:29:49 +0100
commit58ada94f95f71d4f73197ab0e9603dbba6e47fe3 (patch)
treeaa48751b694d11b6d946cb5e9c717105b28dbe16 /virt
parent00929447f5758c4f64c74d0a4b40a6eb3d9df0e3 (diff)
downloadlinux-58ada94f95f71d4f73197ab0e9603dbba6e47fe3.tar.bz2
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 'virt')
0 files changed, 0 insertions, 0 deletions