[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/locking locking.h



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2012-02-27 09:52:37

Modified files:
	lib/locking    : locking.h 

Log message:
	Ignore result of unlock explicitely

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/locking.h.diff?cvsroot=lvm2&r1=1.74&r2=1.75

--- LVM2/lib/locking/locking.h	2012/01/21 05:29:52	1.74
+++ LVM2/lib/locking/locking.h	2012/02/27 09:52:37	1.75
@@ -163,7 +163,7 @@
 	do { \
 		if (is_real_vg(vol)) \
 			sync_dev_names(cmd); \
-		lock_vol(cmd, vol, LCK_VG_UNLOCK); \
+		(void) lock_vol(cmd, vol, LCK_VG_UNLOCK); \
 	} while (0)
 #define unlock_and_release_vg(cmd, vg, vol) \
 	do { \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]