summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-01-16 13:24:29 -0600
committerDavid Teigland <teigland@redhat.com>2019-01-16 13:24:29 -0600
commitfacd5209311d0f205229c6943fa3b2ef42fc981f (patch)
tree17aca660c47e5e008b9ad874c73bc404a69c7390
parentebaaff3590b60933f6f1e2bfd010a86fc373f7eb (diff)
downloadlvm2-facd5209311d0f205229c6943fa3b2ef42fc981f.tar.gz
lvmlockd: fix make lockstart wait
when building without lvmlockd
-rw-r--r--lib/locking/lvmlockd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/locking/lvmlockd.h b/lib/locking/lvmlockd.h
index 1fbf76531..e5ae331b8 100644
--- a/lib/locking/lvmlockd.h
+++ b/lib/locking/lvmlockd.h
@@ -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;
}