aboutsummaryrefslogtreecommitdiff
path: root/fsdev/file-op-9p.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-02-28 10:31:46 +0100
committerGreg Kurz <groug@kaod.org>2017-02-28 10:31:46 +0100
commit4bae2b397fc91bd7eca48bc861dd67f125d4fd1b (patch)
tree420769f56272df6daa812b5d551c30f0fb93c574 /fsdev/file-op-9p.h
parent9b9fbe8a4e9eec9072ee2697a6af59144442785f (diff)
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/file-op-9p.h')
0 files changed, 0 insertions, 0 deletions