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:
parent
efe228a42e
commit
d5fddeb208
@ -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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user