diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2021-05-18 17:35:38 -0400 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-05-26 18:39:32 +0100 |
commit | b5fd59cf907df7fa2272426010c4d264682347f2 (patch) | |
tree | 0c8340cb06db294774269b2db2fcbe4e12b8cf5e /fsdev | |
parent | 1a5fff8e63a5ab55ccdec4f134b2f96453bf789f (diff) |
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 'fsdev')
0 files changed, 0 insertions, 0 deletions