master - locking: fix cluster locking
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c1c2e838e88c56ef38d590007ca3b588ca06f1fd Commit: c1c2e838e88c56ef38d590007ca3b588ca06f1fd Parent: 78533f72d30f6e840f66e0aae89126ef139c1f2c Author: Alasdair G Kergon <[email protected]> AuthorDate: Fri Jun 20 16:38:48 2014 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Fri Jun 20 16:38:48 2014 +0100
locking: fix cluster locking
Hunk missed from last commit 78533f72d30f6e840f66e0aae89126ef139c1f2c.
--- lib/locking/cluster_locking.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
lib/locking/cluster_locking.c +2 -0
@@ -425,6 +425,8 @@ static int _lock_resource(struct cmd_context *cmd, const char *resource,assert (resource);switch (flags &LCK_SCOPE_MASK ) { +case LCK_ACTIVATION : +return 1 ;case LCK_VG :if (!strcmp (resource,VG_SYNC_NAMES )) {log_very_verbose ("Requesting sync names." );