[lvm-devel] master - lvmlockd: fix function def for non-lvmlockd build

David Teigland teigland at fedoraproject.org
Wed Aug 26 21:05:55 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0b137e66e4af537110082c59f88b76ca4906e6e2
Commit:        0b137e66e4af537110082c59f88b76ca4906e6e2
Parent:        45222d29ac43b7354b275e9de61972eea4637a3f
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Wed Aug 26 16:05:20 2015 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Wed Aug 26 16:05:20 2015 -0500

lvmlockd: fix function def for non-lvmlockd build

---
 lib/locking/lvmlockd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/locking/lvmlockd.h b/lib/locking/lvmlockd.h
index ec36ff8..4bec782 100644
--- a/lib/locking/lvmlockd.h
+++ b/lib/locking/lvmlockd.h
@@ -129,7 +129,7 @@ static inline int lockd_init_vg(struct cmd_context *cmd, struct volume_group *vg
 	return 1;
 }
 
-static inline int lockd_free_vg_before(struct cmd_context *cmd, struct volume_group *vg)
+static inline int lockd_free_vg_before(struct cmd_context *cmd, struct volume_group *vg, int changing)
 {
 	return 1;
 }




More information about the lvm-devel mailing list