aboutsummaryrefslogtreecommitdiff
path: root/crypto
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 /crypto
parent8afaaee976965b7fb90ec225a51d60f35c5f173c (diff)
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 'crypto')
0 files changed, 0 insertions, 0 deletions