* [PATCH] Add missing break statement in kpartx.
@ 2011-11-04 10:05 hegdevasant
2011-11-09 23:01 ` Christophe Varoqui
0 siblings, 1 reply; 2+ messages in thread
From: hegdevasant @ 2011-11-04 10:05 UTC (permalink / raw)
To: christophe.varoqui, dm-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add missing break statement in kpartx.
2011-11-04 10:05 [PATCH] Add missing break statement in kpartx hegdevasant
@ 2011-11-09 23:01 ` Christophe Varoqui
0 siblings, 0 replies; 2+ messages in thread
From: Christophe Varoqui @ 2011-11-09 23:01 UTC (permalink / raw)
To: hegdevasant; +Cc: dm-devel
> 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;
Merged.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-09 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 10:05 [PATCH] Add missing break statement in kpartx hegdevasant
2011-11-09 23:01 ` Christophe Varoqui
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).