mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: update comments
Add and indent.
This commit is contained in:
parent
a9dbe2c4fa
commit
9ba7783350
@ -928,7 +928,7 @@ char yes_no_prompt(const char *prompt, ...)
|
||||
}
|
||||
|
||||
if ((c = getchar()) == EOF) {
|
||||
ret = 'n';
|
||||
ret = 'n'; /* SIGINT */
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -5655,7 +5655,7 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg, struct l
|
||||
}
|
||||
if (lv_is_active(org) && !lv_is_external_origin(org)) {
|
||||
log_error("Cannot use active LV for the external origin.");
|
||||
return 0; // We can't be sure device it is read-only
|
||||
return 0; // We can't be sure device is read-only
|
||||
}
|
||||
if (!attach_thin_external_origin(first_seg(lv), org)) {
|
||||
stack;
|
||||
|
@ -634,7 +634,7 @@ static int _read_activation_params(struct lvcreate_params *lp, struct cmd_contex
|
||||
else
|
||||
lp->read_ahead = (lp->read_ahead / pagesize) * pagesize;
|
||||
log_warn("WARNING: Overriding readahead to %u sectors, a multiple "
|
||||
"of %uK page size.", lp->read_ahead, pagesize >> 1);
|
||||
"of %uK page size.", lp->read_ahead, pagesize >> 1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user