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:
parent
25ae0b39b7
commit
4dbf872a9f
@ -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).
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user