mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmlockd: fix segfault in error path
The log_debug statement was ignoring the NULL vg error case.
This commit is contained in:
parent
bd96036835
commit
49a1c4d4b0
1
lib/cache/lvmetad.c
vendored
1
lib/cache/lvmetad.c
vendored
@ -2061,6 +2061,7 @@ scan_more:
|
||||
dm_config_destroy(vgmeta_ret);
|
||||
}
|
||||
out:
|
||||
if (vg_ret)
|
||||
log_debug_lvmetad("Rescan VG %s done (seqno %u).", vg_ret->name, vg_ret->seqno);
|
||||
return vg_ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user