1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00

debug: put stack on error path

At least check result and trace it.
However we may need better error reaction in this case.
This commit is contained in:
Zdenek Kabelac 2015-11-11 22:04:44 +01:00
parent 007be91e3d
commit 112c0592ad

3
lib/cache/lvmetad.c vendored
View File

@ -1734,7 +1734,8 @@ void lvmetad_validate_global_cache(struct cmd_context *cmd, int force)
* Update the local lvmetad cache so it correctly reflects any
* changes made on remote hosts.
*/
lvmetad_pvscan_all_devs(cmd, NULL);
if (!lvmetad_pvscan_all_devs(cmd, NULL))
stack; /* FIXME: Anything more on this error path ? */
/*
* Clear the global_invalid flag in lvmetad.