projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ed733
)
virtiofsd: fix incorrect error handling in lo_do_lookup
author
Eric Ren
<renzhen@linux.alibaba.com>
Tue, 11 Jun 2019 13:44:40 +0000
(21:44 +0800)
committer
Dr. David Alan Gilbert
<dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:37 +0000
(16:41 +0000)
Signed-off-by: Eric Ren <renzhen@linux.alibaba.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_ll.c
patch
|
blob
|
history
diff --git
a/tools/virtiofsd/passthrough_ll.c
b/tools/virtiofsd/passthrough_ll.c
index e8dc5c7320e95d9f861b728025c714a7baf8cbb3..05b5f898db59405df404e8524f1e647d2414560c 100644
(file)
--- a/
tools/virtiofsd/passthrough_ll.c
+++ b/
tools/virtiofsd/passthrough_ll.c
@@
-814,7
+814,6
@@
static int lo_do_lookup(fuse_req_t req, fuse_ino_t parent, const char *name,
close(newfd);
newfd = -1;
} else {
- saverr = ENOMEM;
inode = calloc(1, sizeof(struct lo_inode));
if (!inode) {
goto out_err;