mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cache: fixed copy&paste from last commit
This commit is contained in:
parent
ca7921f54b
commit
05dc70e22e
@ -1432,7 +1432,7 @@ int dev_manager_cache_status(struct dev_manager *dm,
|
||||
c->total_blocks);
|
||||
(*status)->metadata_usage = dm_make_percent(c->metadata_used_blocks,
|
||||
c->metadata_total_blocks);
|
||||
(*status)->dirty_usage = (s->cache->used_blocks) ?
|
||||
(*status)->dirty_usage = (c->used_blocks) ?
|
||||
dm_make_percent(c->dirty_blocks,
|
||||
c->used_blocks) : DM_PERCENT_0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user