dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: hegdevasant <vahegde1@linux.vnet.ibm.com>
To: christophe.varoqui@opensvc.com, dm-devel@redhat.com
Subject: [PATCH] Add missing break statement in kpartx.
Date: Fri, 04 Nov 2011 15:35:22 +0530	[thread overview]
Message-ID: <4EB3B8E2.2090002@linux.vnet.ibm.com> (raw)

  This patch adds missing break statement in kpartx.

Signed-off-by: Vasant Hegde <vahegde1@linux.vnet.ibm.com>

---
  kpartx/kpartx.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kpartx/kpartx.c b/kpartx/kpartx.c
index 05dfce7..0711450 100644
--- a/kpartx/kpartx.c
+++ b/kpartx/kpartx.c
@@ -241,6 +241,7 @@ main(int argc, char **argv){
      while ((arg = getopt(argc, argv, short_opts)) != EOF) switch(arg) {
          case 'r':
              ro=1;
+            break;
          case 'f':
              force_devmap=1;
              break;
@@ -267,6 +268,7 @@ main(int argc, char **argv){
              break;
          case 's':
              sync = 1;
+            break;
          case 'u':
              what = UPDATE;
              break;
-- 
1.7.3.4

             reply	other threads:[~2011-11-04 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04 10:05 hegdevasant [this message]
2011-11-09 23:01 ` [PATCH] Add missing break statement in kpartx Christophe Varoqui

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=4EB3B8E2.2090002@linux.vnet.ibm.com \
    --to=vahegde1@linux.vnet.ibm.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@redhat.com \
    /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 NNTP newsgroup(s).