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-31 09:56:29 -0600
commitd0cb672466437161055ac084a5c1523b0eec1bf5 (patch)
tree08e268aa8c0c547668da026644800ca0b4b358dc
parent75886f59e46b7f9bcb2149d159a4867adb05ba0d (diff)
downloadlvm2-d0cb672466437161055ac084a5c1523b0eec1bf5.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 05a84e15c..85d078b87 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;
}