master - locking: fix cluster lock_resource fn prototype
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=21bc118d4db22259d45aef32aa77f78621ddf8c1 Commit: 21bc118d4db22259d45aef32aa77f78621ddf8c1 Parent: 1cb66fe16e0bc180a0be8e18d8b361b5b5842128 Author: Alasdair G Kergon <[email protected]> AuthorDate: Fri Jul 5 01:59:52 2013 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Fri Jul 5 01:59:52 2013 +0100
locking: fix cluster lock_resource fn prototype
--- lib/locking/cluster_locking.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/locking/cluster_locking.c +1 -1
@@ -33,7 +33,7 @@#include <unistd.h> #ifndef CLUSTER_LOCKING_INTERNAL -int lock_resource (struct cmd_context *cmd,const char *resource,uint32_t flags); +int lock_resource (struct cmd_context *cmd,const char *resource,uint32_t flags,struct logical_volume *lv __attribute__((unused)));int query_resource (const char *resource,int *mode);void locking_end (void );int locking_init (int type,struct dm_config_tree *cf,uint32_t *flags);