master - cleanup: update comments
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9ba77833504fb08456db1fab8a4061b689f7922c Commit: 9ba77833504fb08456db1fab8a4061b689f7922c Parent: a9dbe2c4fa5a9fa18fa1e0223a622708693be27a Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat Jul 6 11:04:19 2013 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Jul 15 15:40:46 2013 +0200
cleanup: update comments
Add and indent.
--- lib/display/display.c | 2 +- lib/metadata/lv_manip.c | 2 +- tools/lvcreate.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
lib/display/display.c +1 -1
@@ -928,7 +928,7 @@ char yes_no_prompt(const char *prompt, ...) }if ((c =getchar ()) ==EOF ) { - ret ='n' ; + ret ='n' ;/* SIGINT */ break ; }
lib/metadata/lv_manip.c +1 -1
@@ -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;
tools/lvcreate.c +1 -1
@@ -634,7 +634,7 @@ static int _read_activation_params(struct lvcreate_params *lp, struct cmd_contexelse 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 ); }/*