From 87038c493a9e8fda2805c855d179674ea2f43208 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Aug 21 2024 18:42:46 +0000 Subject: sanlock: fix is dead log message for unused host id Remove log message "host ID GEN 0 is dead" for a host id lease that was released and not currently used. From "sanlock: fix time calculations for dead host" --- diff --git a/src/lockspace.c b/src/lockspace.c index ef3336e..4cd8277 100644 --- a/src/lockspace.c +++ b/src/lockspace.c @@ -486,6 +486,12 @@ void check_other_leases(struct space *sp, char *buf) continue; /* + * Other host lease is released, not failing or dead. + */ + if (!hs->timestamp) + continue; + + /* * Don't bother logging info about other host leases if * we are quitting/failing ourself. */