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

[win-pv-devel] [PATCH 2/3] Track State.Count in BlkifRingDisable



Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/xenvbd/ring.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xenvbd/ring.c b/src/xenvbd/ring.c
index 66dcfec..93fd920 100644
--- a/src/xenvbd/ring.c
+++ b/src/xenvbd/ring.c
@@ -2085,6 +2085,7 @@ BlkifRingDisable(
 
         ListEntry = RemoveHeadList(&BlkifRing->State.List);
         ASSERT3P(ListEntry, != , &BlkifRing->State.List);
+        --BlkifRing->State.Count;
 
         Request = CONTAINING_RECORD(ListEntry,
                                     XENVBD_REQUEST,
-- 
2.16.2.windows.1


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

 


Rackspace

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