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

[lvm-devel] LVM2/lib/locking cluster_locking.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2010-11-29 11:13:12

Modified files:
	lib/locking    : cluster_locking.c 

Log message:
	Remove dead assignment in _lock_for_cluster
	
	'saved_errno' is not read from this initialization and before its
	usage is assigned again before _cluster_free_request() call.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/cluster_locking.c.diff?cvsroot=lvm2&r1=1.46&r2=1.47

--- LVM2/lib/locking/cluster_locking.c	2010/08/17 19:25:05	1.46
+++ LVM2/lib/locking/cluster_locking.c	2010/11/29 11:13:12	1.47
@@ -308,7 +308,7 @@
 	const char *node = "";
 	int len;
 	int dmeventd_mode;
-	int saved_errno = errno;
+	int saved_errno;
 	lvm_response_t *response = NULL;
 	int num_responses;
 


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