1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

cache: no status for pending deleted cache

This commit is contained in:
Zdenek Kabelac 2014-11-11 11:00:35 +01:00
parent 7fa7ac528d
commit 42a3305ec7

View File

@ -1015,6 +1015,9 @@ int lv_cache_status(const struct logical_volume *cache_lv,
cache_lv = cache_seg->lv;
}
if (lv_is_pending_delete(cache_lv))
return 0;
if (!lv_info(cache_lv->vg->cmd, cache_lv, 0, NULL, 0, 0))
return 0;