Skip to contentSkip to conversation

LVM2/daemons/clvmd clvmd-command.c

PATCH [email protected] 1 participant 1 message Feb 27, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-02-27 10:02:17

Modified files:
daemons/clvmd : clvmd-command.c

Log message:
Explicitely ignore result from sync_unlock()

Make it obvious to analyzer - we can't do anything better here anyway.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clvmd/clvmd-command.c.diff?cvsroot=lvm2&r1=1.65&r2=1.66

daemons/clvmd/clvmd-command.c +1 -1
@@ -355,7 +355,7 @@
 		lkid = (int)(long)dm_hash_get_data(lock_hash, v);
 		lockname = dm_hash_get_key(lock_hash, v);
 		DEBUGLOG("cleanup: Unlocking lock %s %x\n", lockname, lkid);
-		sync_unlock(lockname, lkid);
+		(void) sync_unlock(lockname, lkid);
 	}
 
 	dm_hash_destroy(lock_hash);