Skip to contentSkip to conversation

master - lvmlockd: fix make lockstart wait

PATCH David Teigland 1 participant 1 message Jan 16, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=facd5209311d0f205229c6943fa3b2ef42fc981f
Commit:        facd5209311d0f205229c6943fa3b2ef42fc981f
Parent:        ebaaff3590b60933f6f1e2bfd010a86fc373f7eb
Author:        David Teigland <[email protected]>
AuthorDate:    Wed Jan 16 13:24:29 2019 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Wed Jan 16 13:24:29 2019 -0600

lvmlockd: fix make lockstart wait

when building without lvmlockd

---
 lib/locking/lvmlockd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/locking/lvmlockd.h +1 -1
index 1fbf765..e5ae331 100644
@@ -148,7 +148,7 @@ static inline int lockd_rename_vg_final(struct cmd_context *cmd, struct volume_g
 	return 1;
 }
 
-static inline int lockd_start_vg(struct cmd_context *cmd, struct volume_group *vg, int start_init)
+static inline int lockd_start_vg(struct cmd_context *cmd, struct volume_group *vg, int start_init, int *exists)
 {
 	return 0;
 }