summary refs log tree commit diff stats
path: root/hw/acpi/pci.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2021-02-04 15:02:07 +0000
committerDr. David Alan Gilbert <dgilbert@redhat.com>2021-02-04 17:34:35 +0000
commit22d2ece71e533310da31f2857ebc4a00d91968b3 (patch)
tree41d244e412e3e5adfc97462e5fb291c00553d53f /hw/acpi/pci.c
parent8afaaee976965b7fb90ec225a51d60f35c5f173c (diff)
downloadfocaccia-qemu-22d2ece71e533310da31f2857ebc4a00d91968b3.tar.gz
focaccia-qemu-22d2ece71e533310da31f2857ebc4a00d91968b3.zip
virtiofsd: optionally return inode pointer from lo_do_lookup()
lo_do_lookup() finds an existing inode or allocates a new one. It
increments nlookup so that the inode stays alive until the client
releases it.

Existing callers don't need the struct lo_inode so the function doesn't
return it. Extend the function to optionally return the inode. The next
commit will need it.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20210204150208.367837-3-stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/acpi/pci.c')
0 files changed, 0 insertions, 0 deletions