mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
debug: add stack trace point
This commit is contained in:
parent
c1e3f96c97
commit
539a48a328
2
lib/cache/lvmetad.c
vendored
2
lib/cache/lvmetad.c
vendored
@ -1281,7 +1281,7 @@ int lvmetad_vg_update_finish(struct volume_group *vg)
|
||||
if (pvl->pv->dev && !lvmetad_pv_found(vg->cmd, &pvl->pv->id, pvl->pv->dev,
|
||||
vgu->fid ? vgu->fid->fmt : pvl->pv->fmt,
|
||||
pvl->pv->label_sector, NULL, NULL, NULL))
|
||||
return 0;
|
||||
return_0;
|
||||
}
|
||||
|
||||
vg->lvmetad_update_pending = 0;
|
||||
|
@ -273,7 +273,7 @@ static int _create_control(const char *control, uint32_t major, uint32_t minor)
|
||||
*/
|
||||
ret = _control_exists(control, major, minor);
|
||||
if (ret == -1)
|
||||
return 0; /* Failed to unlink existing incorrect node */
|
||||
return_0; /* Failed to unlink existing incorrect node */
|
||||
if (ret)
|
||||
return 1; /* Already exists and correct */
|
||||
|
||||
@ -284,7 +284,7 @@ static int _create_control(const char *control, uint32_t major, uint32_t minor)
|
||||
(void) dm_prepare_selinux_context(NULL, 0);
|
||||
|
||||
if (!ret)
|
||||
return 0;
|
||||
return_0;
|
||||
|
||||
log_verbose("Creating device %s (%u, %u)", control, major, minor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user