diff options
Diffstat (limited to 'tools/vgsplit.c')
-rw-r--r-- | tools/vgsplit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vgsplit.c b/tools/vgsplit.c index b0494a0d..f8660e1d 100644 --- a/tools/vgsplit.c +++ b/tools/vgsplit.c @@ -488,8 +488,8 @@ int vgsplit(struct cmd_context *cmd, int argc, char **argv) bad: /* - * Note: as vg_to is referencing moved elements from vg_from - * the order of free_vg calls is mandatory. + * vg_to references elements moved from vg_from + * so vg_to has to be freed first. */ unlock_and_free_vg(cmd, vg_to, vg_name_to); unlock_and_free_vg(cmd, vg_from, vg_name_from); |