public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: zkabelac@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2/lib activate/dev_manager.c config/config. ...
Date: Mon, 28 Feb 2011 19:53:00 -0000	[thread overview]
Message-ID: <20110228195304.7481.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2011-02-28 19:53:03

Modified files:
	lib/activate   : dev_manager.c 
	lib/config     : config.c 
	lib/metadata   : lv_manip.c 

Log message:
	Add fall through comments
	
	Add comments to switch case construct.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/dev_manager.c.diff?cvsroot=lvm2&r1=1.213&r2=1.214
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/config.c.diff?cvsroot=lvm2&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.250&r2=1.251

--- LVM2/lib/activate/dev_manager.c	2011/02/04 20:30:18	1.213
+++ LVM2/lib/activate/dev_manager.c	2011/02/28 19:53:03	1.214
@@ -1687,6 +1687,7 @@
 		dm_tree_skip_lockfs(root);
 		if (!dm->flush_required && (lv->status & MIRRORED) && !(lv->status & PVMOVE))
 			dm_tree_use_no_flush_suspend(root);
+		/* Fall through */
 	case SUSPEND_WITH_LOCKFS:
 		if (!dm_tree_suspend_children(root, dlid, ID_LEN + sizeof(UUID_PREFIX) - 1))
 			goto_out;
--- LVM2/lib/config/config.c	2011/02/18 14:08:22	1.89
+++ LVM2/lib/config/config.c	2011/02/28 19:53:03	1.90
@@ -808,6 +808,7 @@
 
 	case '.':
 		p->t = TOK_FLOAT;
+		/* Fall through */
 	case '0':
 	case '1':
 	case '2':
--- LVM2/lib/metadata/lv_manip.c	2011/02/27 01:16:53	1.250
+++ LVM2/lib/metadata/lv_manip.c	2011/02/28 19:53:03	1.251
@@ -1512,6 +1512,7 @@
 
 				case PREFERRED:
 					preferred_count++;
+					/* Fall through */
 
 				case NEXT_PV:
 					goto next_pv;


                 reply	other threads:[~2011-02-28 19:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110228195304.7481.qmail@sourceware.org \
    --to=zkabelac@sourceware.org \
    --cc=lvm-devel@redhat.com \
    --cc=lvm2-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).