diff options
Diffstat (limited to 'lib/locking/locking.c')
-rw-r--r-- | lib/locking/locking.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/locking/locking.c b/lib/locking/locking.c index c9236104..645f25d5 100644 --- a/lib/locking/locking.c +++ b/lib/locking/locking.c @@ -442,10 +442,6 @@ int lock_vol(struct cmd_context *cmd, const char *vol, uint32_t flags) /* If LVM1 driver knows about the VG, it can't be accessed. */ if (!check_lvm1_vg_inactive(cmd, vol)) return_0; - - /* Before unlocking VG wait until devices are available. */ - if ((flags & LCK_TYPE_MASK) == LCK_UNLOCK) - sync_local_dev_names(cmd); break; case LCK_LV: /* All LV locks are non-blocking. */ |