mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vgdisplay: Drop error message for exported VGs.
Originally when vgdisplay encountered an exported VG it issued a WARNING. Commitd6b1de30
replaced this with an error message but still exited with success (incorrect). A backtrace was recently added in commitb193809987
. As vgdisplay already states that the VG is exported in its output, just drop these messages completely.
This commit is contained in:
parent
746b1bcf2a
commit
8740b7cb77
@ -1,5 +1,6 @@
|
||||
Version 2.02.129 -
|
||||
===================================
|
||||
Drop error message when vgdisplay encounters an exported VG. (2.02.27)
|
||||
Fix shared library generation to stop exporting internal functions.(2.02.120)
|
||||
Accept --cachemode with lvconvert.
|
||||
Fix and improve reporting properties of cache-pool.
|
||||
|
@ -22,9 +22,6 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name,
|
||||
if (arg_count(cmd, activevolumegroups_ARG) && !lvs_in_vg_activated(vg))
|
||||
return ECMD_PROCESSED;
|
||||
|
||||
if (!vg_check_status(vg, EXPORTED_VG))
|
||||
stack;
|
||||
|
||||
if (arg_count(cmd, colon_ARG)) {
|
||||
vgdisplay_colons(vg);
|
||||
return ECMD_PROCESSED;
|
||||
|
Loading…
Reference in New Issue
Block a user