qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 083/104] virtiofsd: fix incorrect error handling in lo_do_lookup


From: Dr. David Alan Gilbert (git)
Subject: [PATCH 083/104] virtiofsd: fix incorrect error handling in lo_do_lookup
Date: Thu, 12 Dec 2019 16:38:43 +0000

From: Eric Ren <address@hidden>

Signed-off-by: Eric Ren <address@hidden>
---
 tools/virtiofsd/passthrough_ll.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/virtiofsd/passthrough_ll.c b/tools/virtiofsd/passthrough_ll.c
index 097033aa00..fbcc222860 100644
--- a/tools/virtiofsd/passthrough_ll.c
+++ b/tools/virtiofsd/passthrough_ll.c
@@ -815,7 +815,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;
-- 
2.23.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]