1
0
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:
David Teigland 2016-09-28 13:29:55 -05:00
parent bd96036835
commit 49a1c4d4b0

1
lib/cache/lvmetad.c vendored
View File

@ -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;
}