src/lockspace.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 22ad01ac8d1c6c50c2565cf220878384a8c64694
Author: David Teigland <teigland(a)redhat.com>
Date: Mon Aug 11 10:51:34 2014 -0500
sanlock: host event struct missing host_id in get_event
The destination host_id should be set so the struct
from get_event matches the struct from set_event.
Signed-off-by: David Teigland <teigland(a)redhat.com>
diff --git a/src/lockspace.c b/src/lockspace.c
index fe09d99..2db1cce 100644
--- a/src/lockspace.c
+++ b/src/lockspace.c
@@ -337,6 +337,7 @@ void check_other_leases(struct space *sp, char *buf)
*/
memset(&he, 0, sizeof(he));
+ he.host_id = sp->host_id;
he.generation = leader->write_id;
he.event = leader->write_generation;
he.data = leader->write_timestamp;