mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: indent
This commit is contained in:
parent
852a2b98be
commit
b6eb2ac10a
@ -4157,7 +4157,7 @@ static struct volume_group *_vg_lock_and_read(struct cmd_context *cmd, const cha
|
||||
uint64_t status_flags, uint32_t misc_flags)
|
||||
{
|
||||
struct volume_group *vg = NULL;
|
||||
int consistent = 1;
|
||||
int consistent = 1;
|
||||
int consistent_in;
|
||||
uint32_t failure = 0;
|
||||
int already_locked;
|
||||
@ -4279,7 +4279,7 @@ bad:
|
||||
* *consistent = 1.
|
||||
*/
|
||||
struct volume_group *vg_read(struct cmd_context *cmd, const char *vg_name,
|
||||
const char *vgid, uint32_t flags)
|
||||
const char *vgid, uint32_t flags)
|
||||
{
|
||||
uint64_t status = UINT64_C(0);
|
||||
uint32_t lock_flags = LCK_VG_READ;
|
||||
|
@ -36,18 +36,18 @@ static int _pvdisplay_single(struct cmd_context *cmd,
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* Replace possibly incomplete PV structure with new one
|
||||
* allocated in vg_read_internal() path.
|
||||
*/
|
||||
if (!(pvl = find_pv_in_vg(vg, pv_name))) {
|
||||
log_error("Unable to find \"%s\" in volume group \"%s\"",
|
||||
pv_name, vg->name);
|
||||
ret = ECMD_FAILED;
|
||||
goto out;
|
||||
}
|
||||
if (!(pvl = find_pv_in_vg(vg, pv_name))) {
|
||||
log_error("Unable to find \"%s\" in volume group \"%s\"",
|
||||
pv_name, vg->name);
|
||||
ret = ECMD_FAILED;
|
||||
goto out;
|
||||
}
|
||||
|
||||
pv = pvl->pv;
|
||||
pv = pvl->pv;
|
||||
}
|
||||
|
||||
if (is_orphan(pv))
|
||||
|
Loading…
Reference in New Issue
Block a user