LVM2/daemons/clvmd clvmd-command.c
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.
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);