Blame SOURCES/lvm2-2_03_03-lvmlockd-fix-make-lockstart-wait.patch
|
|
146ac4 |
From 3523651432864901f60d28b8ae3767218f4b39d3 Mon Sep 17 00:00:00 2001
|
|
|
146ac4 |
From: David Teigland <teigland@redhat.com>
|
|
|
146ac4 |
Date: Wed, 16 Jan 2019 13:24:29 -0600
|
|
|
146ac4 |
Subject: [PATCH 5/5] lvmlockd: fix make lockstart wait
|
|
|
146ac4 |
|
|
|
146ac4 |
when building without lvmlockd
|
|
|
146ac4 |
---
|
|
|
146ac4 |
lib/locking/lvmlockd.h | 2 +-
|
|
|
146ac4 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
146ac4 |
|
|
|
146ac4 |
diff --git a/lib/locking/lvmlockd.h b/lib/locking/lvmlockd.h
|
|
|
146ac4 |
index 1fbf765..e5ae331 100644
|
|
|
146ac4 |
--- a/lib/locking/lvmlockd.h
|
|
|
146ac4 |
+++ b/lib/locking/lvmlockd.h
|
|
|
146ac4 |
@@ -148,7 +148,7 @@ static inline int lockd_rename_vg_final(struct cmd_context *cmd, struct volume_g
|
|
|
146ac4 |
return 1;
|
|
|
146ac4 |
}
|
|
|
146ac4 |
|
|
|
146ac4 |
-static inline int lockd_start_vg(struct cmd_context *cmd, struct volume_group *vg, int start_init)
|
|
|
146ac4 |
+static inline int lockd_start_vg(struct cmd_context *cmd, struct volume_group *vg, int start_init, int *exists)
|
|
|
146ac4 |
{
|
|
|
146ac4 |
return 0;
|
|
|
146ac4 |
}
|
|
|
146ac4 |
--
|
|
|
146ac4 |
1.8.3.1
|
|
|
146ac4 |
|