mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmcache: fix typo in lvmcache_get_saved_vg
This commit is contained in:
parent
3ea862bdfc
commit
a418f88b76
2
lib/cache/lvmcache.c
vendored
2
lib/cache/lvmcache.c
vendored
@ -359,7 +359,7 @@ struct volume_group *lvmcache_get_saved_vg(const char *vgid, int precommitted)
|
|||||||
* By just dropping old, we force a subsequent request for old to
|
* By just dropping old, we force a subsequent request for old to
|
||||||
* reread it rather than just using new. */
|
* reread it rather than just using new. */
|
||||||
|
|
||||||
if (vginfo->saved_vg_old && (vginfo->saved_vg_old < vg->seqno)) {
|
if (vginfo->saved_vg_old && (vginfo->saved_vg_old->seqno < vg->seqno)) {
|
||||||
log_debug_cache("lvmcache: drop saved_vg_old because new invalidates");
|
log_debug_cache("lvmcache: drop saved_vg_old because new invalidates");
|
||||||
_saved_vg_free(vginfo, 1, 0);
|
_saved_vg_free(vginfo, 1, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user