Searched hist:"4 bae2b39" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/9pfs/ |
H A D | 9p.c | 4bae2b39 Tue Feb 28 03:31:46 CST 2017 Paolo Bonzini <pbonzini@redhat.com> 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>
|