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

reports: invalid snaps do not capitalise lv_attr

No longer capitalise first LV attribute char for invalid snapshots.
This state is available from the 5th char now (I or S).
This commit is contained in:
Alasdair G Kergon 2012-07-27 20:19:28 +01:00
parent 25ae0b39b7
commit 4dbf872a9f
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.97 -
===============================
No longer capitalise first LV attribute char for invalid snapshots.
Allow vgextend to add PVs to a VG that is missing PVs.
Recognise Micron PCIe SSDs in filter and move array out to device-types.h.
Fix segfault when attempting to replace RAID 4/5/6 device (2.02.97).

View File

@ -448,7 +448,6 @@ char *lv_attr_dup(struct dm_pool *mem, const struct logical_volume *lv)
if (info.live_table && lv_is_cow(lv)) {
if (!lv_snapshot_percent(lv, &snap_percent) ||
snap_percent == PERCENT_INVALID) {
repstr[0] = toupper(repstr[0]);
if (info.suspended)
repstr[4] = 'S'; /* Susp Inv snapshot */
else