commit | 58ada94f95f71d4f73197ab0e9603dbba6e47fe3 | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Wed Oct 30 11:07:17 2019 -0400 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Nov 22 13:29:49 2019 +0100 |
tree | aa48751b694d11b6d946cb5e9c717105b28dbe16 | |
parent | 00929447f5758c4f64c74d0a4b40a6eb3d9df0e3 [diff] |
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>