[lvm-devel] master - lvmlockd: shut up warnings

David Teigland teigland at fedoraproject.org
Mon Nov 9 16:00:32 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e207ededd607fe30cf1f10d5c4415ed30b2d030c
Commit:        e207ededd607fe30cf1f10d5c4415ed30b2d030c
Parent:        36ee36734382b2aa845a435e27fa1fb834be1152
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Mon Nov 9 09:59:51 2015 -0600
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Mon Nov 9 10:00:04 2015 -0600

lvmlockd: shut up warnings

---
 daemons/lvmlockd/lvmlockd-core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/daemons/lvmlockd/lvmlockd-core.c b/daemons/lvmlockd/lvmlockd-core.c
index 487b6ec..9b06e7d 100644
--- a/daemons/lvmlockd/lvmlockd-core.c
+++ b/daemons/lvmlockd/lvmlockd-core.c
@@ -3594,8 +3594,6 @@ static int client_send_result(struct client *cl, struct action *act)
 
 		if (gl_use_sanlock && !gl_lsname_sanlock[0])
 			strcat(result_flags, "NO_GL_LS,");
-		else if (gl_use_dlm && !gl_lsname_dlm[0])
-			strcat(result_flags, "NO_GL_LS,");
 		else
 			strcat(result_flags, "NO_GL_LS,");
 	}




More information about the lvm-devel mailing list