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

[win-pv-devel] [PATCH 02/03] Ignore errors when calling FrontendClose



Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/xenvbd/frontend.c  |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
 
diff --git a/src/xenvbd/frontend.c b/src/xenvbd/frontend.c
index f01b142..701a969 100644
--- a/src/xenvbd/frontend.c
+++ b/src/xenvbd/frontend.c
@@ -1368,13 +1368,8 @@ __FrontendSetState(
             case XENVBD_CLOSING:
             case XENVBD_CLOSED:
             case XENVBD_PREPARED:
-                Status = FrontendClose(Frontend);
-                if (NT_SUCCESS(Status)) {
-                    Frontend->State = XENVBD_CLOSING;
-                } else {
-                    Frontend->State = XENVBD_STATE_INVALID;
-                    Failed = TRUE;
-                }
+                (VOID) FrontendClose(Frontend);
+                Frontend->State = XENVBD_CLOSING;
                 break;
             default:
                 Failed = TRUE;
-- 
1.9.4.msysgit.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.