mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
If unable to obtain snapshot percentage leave value blank on reports.
This commit is contained in:
parent
89cb3a410a
commit
eedf87f891
@ -1,5 +1,6 @@
|
||||
Version 2.02.66 -
|
||||
===============================
|
||||
If unable to obtain snapshot percentage leave value blank on reports.
|
||||
Add install_system_dirs and install_initscripts makefile targets.
|
||||
Add configure options for system and locking directories.
|
||||
Generate example.conf so default lvm.conf contents can be configured.
|
||||
|
@ -1019,7 +1019,7 @@ static int _snpercent_disp(struct dm_report *rh __attribute((unused)), struct dm
|
||||
}
|
||||
|
||||
if ((!lv_is_cow(lv) && !lv_is_merging_origin(lv)) ||
|
||||
(lv_info(lv->vg->cmd, lv, &info, 0, 0) && !info.exists)) {
|
||||
!lv_info(lv->vg->cmd, lv, &info, 0, 0) || !info.exists) {
|
||||
*sortval = UINT64_C(0);
|
||||
dm_report_field_set_value(field, "", sortval);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user