Blame SOURCES/kvm-virtiofsd-fix-incorrect-error-handling-in-lo_do_look.patch

902636
From 9c291ca8624318613ede6e4174d08cf45aae8384 Mon Sep 17 00:00:00 2001
902636
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
902636
Date: Mon, 27 Jan 2020 19:02:01 +0100
902636
Subject: [PATCH 090/116] virtiofsd: fix incorrect error handling in
902636
 lo_do_lookup
902636
MIME-Version: 1.0
902636
Content-Type: text/plain; charset=UTF-8
902636
Content-Transfer-Encoding: 8bit
902636
902636
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
902636
Message-id: <20200127190227.40942-87-dgilbert@redhat.com>
902636
Patchwork-id: 93543
902636
O-Subject: [RHEL-AV-8.2 qemu-kvm PATCH 086/112] virtiofsd: fix incorrect error handling in lo_do_lookup
902636
Bugzilla: 1694164
902636
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
902636
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
902636
RH-Acked-by: Sergio Lopez Pascual <slp@redhat.com>
902636
902636
From: Eric Ren <renzhen@linux.alibaba.com>
902636
902636
Signed-off-by: Eric Ren <renzhen@linux.alibaba.com>
902636
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
902636
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
902636
(cherry picked from commit fc3f0041b43b6c64aa97b3558a6abe1a10028354)
902636
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
902636
---
902636
 tools/virtiofsd/passthrough_ll.c | 1 -
902636
 1 file changed, 1 deletion(-)
902636
902636
diff --git a/tools/virtiofsd/passthrough_ll.c b/tools/virtiofsd/passthrough_ll.c
902636
index e8dc5c7..05b5f89 100644
902636
--- a/tools/virtiofsd/passthrough_ll.c
902636
+++ b/tools/virtiofsd/passthrough_ll.c
902636
@@ -814,7 +814,6 @@ static int lo_do_lookup(fuse_req_t req, fuse_ino_t parent, const char *name,
902636
         close(newfd);
902636
         newfd = -1;
902636
     } else {
902636
-        saverr = ENOMEM;
902636
         inode = calloc(1, sizeof(struct lo_inode));
902636
         if (!inode) {
902636
             goto out_err;
902636
-- 
902636
1.8.3.1
902636