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:
parent
5b61ca7281
commit
67e6c7e73d
@ -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.
|
||||
|
@ -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 ? */
|
||||
|
Loading…
Reference in New Issue
Block a user