mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +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)) {
|
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);
|
dm_free(buf);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dev_read_buf(dev, offset2, len2, reason, buf + len)) {
|
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);
|
dm_free(buf);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -5623,10 +5623,8 @@ uint32_t vg_lock_newname(struct cmd_context *cmd, const char *vgname)
|
|||||||
}
|
}
|
||||||
lvmcache_force_next_label_scan();
|
lvmcache_force_next_label_scan();
|
||||||
lvmcache_label_scan(cmd);
|
lvmcache_label_scan(cmd);
|
||||||
if (!lvmcache_fmt_from_vgname(cmd, vgname, NULL, 0)) {
|
if (!lvmcache_fmt_from_vgname(cmd, vgname, NULL, 0))
|
||||||
/* vgname not found after scanning */
|
return SUCCESS; /* vgname not found after scanning */
|
||||||
return SUCCESS;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user