diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2021-02-04 15:02:07 +0000 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-02-04 17:34:35 +0000 |
| commit | 22d2ece71e533310da31f2857ebc4a00d91968b3 (patch) | |
| tree | 41d244e412e3e5adfc97462e5fb291c00553d53f /hw/core/qdev-prop-internal.h | |
| parent | 8afaaee976965b7fb90ec225a51d60f35c5f173c (diff) | |
| download | focaccia-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/core/qdev-prop-internal.h')
0 files changed, 0 insertions, 0 deletions