summaryrefslogtreecommitdiffstats
path: root/fsdev/qemu-fsdev-opts.c
diff options
context:
space:
mode:
authorPaolo Bonzini2017-02-28 10:31:46 +0100
committerGreg Kurz2017-02-28 10:31:46 +0100
commit4bae2b397fc91bd7eca48bc861dd67f125d4fd1b (patch)
tree420769f56272df6daa812b5d551c30f0fb93c574 /fsdev/qemu-fsdev-opts.c
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20170227-1' into st... (diff)
downloadqemu-4bae2b397fc91bd7eca48bc861dd67f125d4fd1b.tar.gz
qemu-4bae2b397fc91bd7eca48bc861dd67f125d4fd1b.tar.xz
qemu-4bae2b397fc91bd7eca48bc861dd67f125d4fd1b.zip
9pfs: fix v9fs_lock error case
In this case, we are marshaling an error status instead of the errno value. Reorganize the out and out_nofid labels to look like all the other cases. Coverity reports this because the "err = -ENOENT" and "err = -EINVAL" assignments above are dead, overwritten by the call to pdu_marshal. (Coverity issues CID1348512 and CID1348513) Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (also open-coded the success path since locking is a nop for us, Greg Kurz) Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'fsdev/qemu-fsdev-opts.c')
0 files changed, 0 insertions, 0 deletions