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

Do not log a superfluous stack message when the lv is properly processed

This commit is contained in:
Zdenek Kabelac 2011-05-19 13:59:22 +00:00
parent dc85d3fb57
commit 5ec549ca5a
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.86 -
=================================
Do not log a superfluous stack message when the lv is properly processed.
Do not issue an error message when unable to remove .cache on read-only fs.
Avoid memlock size mismatch by preallocating stdio line buffers.
Reorganize lvconvert --repair code to allow reuse.

View File

@ -351,12 +351,14 @@ int process_each_lv(struct cmd_context *cmd, int argc, char **argv,
ret = process_each_lv_in_vg(cmd, cvl_vg->vg, &lvnames,
tags_arg, &failed_lvnames,
handle, process_single_lv);
if (ret != ECMD_PROCESSED ||
dm_list_empty(&failed_lvnames)) {
if (ret != ECMD_PROCESSED) {
stack;
break;
}
if (dm_list_empty(&failed_lvnames))
break;
/* Try again with failed LVs in this VG */
dm_list_init(&lvnames);
dm_list_splice(&lvnames, &failed_lvnames);