mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cache: no status for pending deleted cache
This commit is contained in:
parent
7fa7ac528d
commit
42a3305ec7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user