]> TLD Linux GIT Repositories - packages/lvm2.git/blobdiff - lvm2-clvmd_cmd_timeout.patch
- updated to 2.03.00
[packages/lvm2.git] / lvm2-clvmd_cmd_timeout.patch
diff --git a/lvm2-clvmd_cmd_timeout.patch b/lvm2-clvmd_cmd_timeout.patch
deleted file mode 100644 (file)
index d1d6e0d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urp LVM2.2.02.177.orig/daemons/clvmd/clvmd.c LVM2.2.02.177/daemons/clvmd/clvmd.c
---- LVM2.2.02.177.orig/daemons/clvmd/clvmd.c   2017-12-18 20:44:34.000000000 +0000
-+++ LVM2.2.02.177/daemons/clvmd/clvmd.c        2018-01-26 16:40:07.504228217 +0000
-@@ -992,8 +992,8 @@ static void main_loop(int cmd_timeout)
-                       }
-               }
--              /* Select timed out. Check for clients that have been waiting too long for a response */
--              if (select_status == 0) {
-+              /* Check for clients that have been waiting too long for a response */
-+              if (select_status >= 0) {
-                       time_t the_time = time(NULL);
-                       for (thisfd = &local_client_head; thisfd; thisfd = thisfd->next) {