mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cache: wrong feature in seg is internal error
This commit is contained in:
parent
48874703d2
commit
6308a8b06d
@ -40,7 +40,7 @@ const char *get_cache_pool_cachemode_name(const struct lv_segment *seg)
|
|||||||
if (seg->feature_flags & DM_CACHE_FEATURE_PASSTHROUGH)
|
if (seg->feature_flags & DM_CACHE_FEATURE_PASSTHROUGH)
|
||||||
return "passthrough";
|
return "passthrough";
|
||||||
|
|
||||||
log_error("LV %s has uknown feature flags %" PRIu64,
|
log_error(INTERNAL_ERROR "LV %s has uknown feature flags %" PRIu64 ".",
|
||||||
display_lvname(seg->lv), seg->feature_flags);
|
display_lvname(seg->lv), seg->feature_flags);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user