virtiofs: Do not send forget request "struct list_head" element
authorVivek Goyal <vgoyal@redhat.com>
Wed, 30 Oct 2019 15:07:18 +0000 (11:07 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 22 Nov 2019 12:29:49 +0000 (13:29 +0100)
commit1efcf39eb627573f8d543ea396cf36b0651b1e56
tree8d330a4c3fb485c3a4c60a5740d045deb7c1e66f
parent58ada94f95f71d4f73197ab0e9603dbba6e47fe3
virtiofs: Do not send forget request "struct list_head" element

We are sending whole of virtio_fs_forget struct to the other end over
virtqueue. Other end does not need to see elements like "struct list".
That's internal detail of guest kernel. Fix it.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/virtio_fs.c