summaryrefslogtreecommitdiffstats
path: root/qemu-options.h
diff options
context:
space:
mode:
authorVivek Goyal2021-05-18 23:35:38 +0200
committerDr. David Alan Gilbert2021-05-26 19:39:32 +0200
commitb5fd59cf907df7fa2272426010c4d264682347f2 (patch)
tree0c8340cb06db294774269b2db2fcbe4e12b8cf5e /qemu-options.h
parentvirtiofsd: Check EOF before short read (diff)
downloadqemu-b5fd59cf907df7fa2272426010c4d264682347f2.tar.gz
qemu-b5fd59cf907df7fa2272426010c4d264682347f2.tar.xz
qemu-b5fd59cf907df7fa2272426010c4d264682347f2.zip
virtiofsd: Set req->reply_sent right after sending reply
There is no reason to set it in label "err". We should be able to set it right after sending reply. It is easier to read. Also got rid of label "err" because now only thing it was doing was return a code. We can return from the error location itself and no need to first jump to label "err". Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Connor Kuehl <ckuehl@redhat.com> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Message-Id: <20210518213538.693422-8-vgoyal@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'qemu-options.h')
0 files changed, 0 insertions, 0 deletions