mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-06 01:58:01 +03:00
vgreduce previously allowed --all and --removemissing together even though it only actual did the remove missing. The lvm dbus daemon was passing --all anytime there was no entries in pv_object_paths. This change supplies --all if and only if we are not removing missing and the pv_object_paths is empty. Vgreduce has and continues to enforce the invalid combination of supplying a device list when you specify --all or --removemissing so we do not need to check for that invalid combination explicitly in the lvm dbus service as it's already covered. Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1455471