1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

When removing LV symlinks, skip any where the VG name is not determined.

This commit is contained in:
Alasdair Kergon 2008-06-05 12:45:55 +00:00
parent ad134662a2
commit 4bfa132445
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Version 2.02.38 -
Version 2.02.37 -
=================================
When removing LV symlinks, skip any where the VG name is not determined.
Drop metadata cache if update fails in vg_revert or vg_commit.
Avoid spurious duplicate VG messages referring to VGs that are gone.
Drop dev_name_confirmed error message to debug level.

View File

@ -995,6 +995,9 @@ static int _remove_lv_symlinks(struct dev_manager *dm, struct dm_tree_node *root
continue;
}
if (!*vgname)
continue;
/* only top level layer has symlinks */
if (*layer)
continue;