mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
cleanup: missing dots and indent
This commit is contained in:
parent
d794444715
commit
285413b502
@ -1185,13 +1185,13 @@ const char *dev_read_circular(struct device *dev, uint64_t offset, size_t len,
|
||||
}
|
||||
|
||||
if (!dev_read_buf(dev, offset, len, reason, buf)) {
|
||||
log_error("Read from %s failed", dev_name(dev));
|
||||
log_error("Read from %s failed.", dev_name(dev));
|
||||
dm_free(buf);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!dev_read_buf(dev, offset2, len2, reason, buf + len)) {
|
||||
log_error("Circular read from %s failed", dev_name(dev));
|
||||
log_error("Circular read from %s failed.", dev_name(dev));
|
||||
dm_free(buf);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -5623,10 +5623,8 @@ uint32_t vg_lock_newname(struct cmd_context *cmd, const char *vgname)
|
||||
}
|
||||
lvmcache_force_next_label_scan();
|
||||
lvmcache_label_scan(cmd);
|
||||
if (!lvmcache_fmt_from_vgname(cmd, vgname, NULL, 0)) {
|
||||
/* vgname not found after scanning */
|
||||
return SUCCESS;
|
||||
}
|
||||
if (!lvmcache_fmt_from_vgname(cmd, vgname, NULL, 0))
|
||||
return SUCCESS; /* vgname not found after scanning */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user