aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2021-02-04 15:02:06 +0000
committerDr. David Alan Gilbert <dgilbert@redhat.com>2021-02-04 17:32:53 +0000
commit8afaaee976965b7fb90ec225a51d60f35c5f173c (patch)
tree9a511b98f29e3558c13c1ffef879da0e78fe4af7 /scripts/qapi/source.py
parent1ba089f2255bfdb071be3ce6ac6c3069e8012179 (diff)
downloadqemu-8afaaee976965b7fb90ec225a51d60f35c5f173c.zip
qemu-8afaaee976965b7fb90ec225a51d60f35c5f173c.tar.gz
qemu-8afaaee976965b7fb90ec225a51d60f35c5f173c.tar.bz2
virtiofsd: extract lo_do_open() from lo_open()
Both lo_open() and lo_create() have similar code to open a file. Extract a common lo_do_open() function from lo_open() that will be used by lo_create() in a later commit. Since lo_do_open() does not otherwise need fuse_req_t req, convert lo_add_fd_mapping() to use struct lo_data *lo instead. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20210204150208.367837-2-stefanha@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions