mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix missing break
Bug introduced with addition of internal error default case. Seem like this code is not used. TODO: add coverage test.
This commit is contained in:
parent
d2e33bed94
commit
9737943c4c
@ -1,5 +1,6 @@
|
||||
Version 2.02.94 -
|
||||
====================================
|
||||
Fix missing break in _format_pvsegs (2.02.92).
|
||||
Test seg pointer for non-null it in raid_target_percent error path.
|
||||
Check for errors in _init_tags() during config loading.
|
||||
Always check result of _set_vg_name() in lvcreate.
|
||||
|
@ -53,6 +53,7 @@ static char *_format_pvsegs(struct dm_pool *mem, const struct lv_segment *seg,
|
||||
case AREA_UNASSIGNED:
|
||||
name = "unassigned";
|
||||
extent = 0;
|
||||
break;
|
||||
default:
|
||||
log_error(INTERNAL_ERROR "Unknown area segtype.");
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user