1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

Ignore result of unlock explicitely

This commit is contained in:
Zdenek Kabelac 2012-02-27 09:52:37 +00:00
parent efe228a42e
commit d5fddeb208

View File

@ -163,7 +163,7 @@ int check_lvm1_vg_inactive(struct cmd_context *cmd, const char *vgname);
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 { \