This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
The following commit(s) were added to refs/heads/master by this push: new 888ab96 sanlock: fix warning for set_config io_timeout 888ab96 is described below
commit 888ab96a95bc65591bbfab172a3e09810f49c93e Author: David Teigland teigland@redhat.com AuthorDate: Wed Jun 18 13:29:02 2025 -0500
sanlock: fix warning for set_config io_timeout --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c index 6cf5930..681a1f8 100644 --- a/src/main.c +++ b/src/main.c @@ -3475,6 +3475,7 @@ static int do_client(void) void *config_data = NULL; uint32_t flags = 0; uint32_t config_cmd = 0; + uint32_t io_timeout_data = com.io_timeout; int id = -1; int i, fd; int rv = 0; @@ -3769,7 +3770,6 @@ static int do_client(void) log_tool("set_config %.48s %s", com.lockspace.name, com.used ? "USED" : "UNUSED"); } else if (com.io_timeout_set) { - uint32_t io_timeout_data = com.io_timeout; config_data = &io_timeout_data; config_cmd = SANLK_CONFIG_IO_TIMEOUT; log_tool("set_config %.48s io_timeout %u", com.lockspace.name, io_timeout_data);
sanlock-devel@lists.fedorahosted.org