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

Add missing pvremove error message when device doesn't exist.

This commit is contained in:
Alasdair Kergon 2006-12-13 18:40:23 +00:00
parent 5b61ca7281
commit 67e6c7e73d
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.17 -
===================================
Add missing pvremove error message when device doesn't exist.
When lvconvert allocates a mirror log, respect parallel area constraints.
Use loop to iterate through the now-ordered policy list in _allocate().
Check for failure to allocate just the mirror log.

View File

@ -38,8 +38,8 @@ static int pvremove_check(struct cmd_context *cmd, const char *name)
if (!(pv = pv_read(cmd, name, NULL, NULL, 1))) {
if (arg_count(cmd, force_ARG))
return 1;
else
return 0;
log_error("Physical Volume %s not found", name);
return 0;
}
/* orphan ? */