Home
last modified time | relevance | path

Searched hist:"58 ada94f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/fuse/
H A Dvirtio_fs.c58ada94f Wed Oct 30 10:07:17 CDT 2019 Vivek Goyal <vgoyal@redhat.com> 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>
58ada94f Wed Oct 30 10:07:17 CDT 2019 Vivek Goyal <vgoyal@redhat.com> 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>