virtiofsd: fix lo_destroy() resource leaks
commit28f7a3b026f231bfe8de5fed6a18a8d27b1dfcee
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 1 Aug 2019 16:54:08 +0000 (1 17:54 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:37 +0000 (23 16:41 +0000)
tree6d2751d2512ef0c5466daed5de5cf1e6cd06b072
parentcdc497c6925be745bc895355bd4674a17a4b2a8b
virtiofsd: fix lo_destroy() resource leaks

Now that lo_destroy() is serialized we can call unref_inode() so that
all inode resources are freed.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_ll.c