diff options
| author | Stefan Hajnoczi | 2021-02-04 16:02:07 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2021-02-04 18:34:35 +0100 |
| commit | 22d2ece71e533310da31f2857ebc4a00d91968b3 (patch) | |
| tree | 41d244e412e3e5adfc97462e5fb291c00553d53f /include | |
| parent | virtiofsd: extract lo_do_open() from lo_open() (diff) | |
| download | qemu-22d2ece71e533310da31f2857ebc4a00d91968b3.tar.gz qemu-22d2ece71e533310da31f2857ebc4a00d91968b3.tar.xz 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 'include')
0 files changed, 0 insertions, 0 deletions
