Skip to contentSkip to conversation

LVM2 ./WHATS_NEW lib/locking/no_locking.c

PATCH [email protected] 1 participant 1 message Mar 13, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: pcaulfield at sourceware.org 2007-03-13 14:59:21

Modified files:
. : WHATS_NEW
lib/locking : no_locking.c

Log message:
Flag nolocking as a clustered locking module as we need to be able to look at clustered LVs at clvmd startup

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.584&r2=1.585
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/no_locking.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11

WHATS_NEW +2 -0
@@ -2,6 +2,8 @@
 ====================================
   Add a few missing pieces of vgname command line validation.
   Support the /dev/mapper prefix on most command lines.
+  Flag nolocking as a clustered locking module as we need to be able
+    to look at clustered LVs at clvmd startup (2.02.10)
 
 Version 2.02.23 - 8th March 2007
 ================================
lib/locking/no_locking.c +1 -1
@@ -81,7 +81,7 @@
 	locking->lock_resource = _no_lock_resource;
 	locking->reset_locking = _no_reset_locking;
 	locking->fin_locking = _no_fin_locking;
-	locking->flags = 0;
+	locking->flags = LCK_CLUSTERED;
 
 	return 1;
 }