Reported-by: Ruoyu <[email protected]>
Signed-off-by: Hitoshi Mitake <[email protected]>
---
sheep/vdi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/vdi.c b/sheep/vdi.c
index 4683878..9db38c4 100644
--- a/sheep/vdi.c
+++ b/sheep/vdi.c
@@ -350,7 +350,7 @@ static bool add_new_participant(struct vdi_state_entry
*entry,
return true;
}
- assert(entry->lock_state == LOCK_STATE_UNLOCKED);
+ assert(entry->lock_state == LOCK_STATE_SHARED);
assert(0 < entry->nr_participants);
if (entry->nr_participants == SD_MAX_COPIES) {
--
1.8.3.2
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog