mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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:
parent
007be91e3d
commit
112c0592ad
3
lib/cache/lvmetad.c
vendored
3
lib/cache/lvmetad.c
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user