summaryrefslogtreecommitdiff
path: root/tools/vgremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r--tools/vgremove.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c
index 8f73297dc..54006c8ec 100644
--- a/tools/vgremove.c
+++ b/tools/vgremove.c
@@ -78,6 +78,8 @@ static int _vgremove_single(struct cmd_context *cmd, const char *vg_name,
lockd_free_vg_final(cmd, vg);
+ file_lock_remove_on_unlock(cmd, vg->name);
+
return ECMD_PROCESSED;
}