FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 11-04-2011, 09:05 AM
hegdevasant
 
Default Add missing break statement in kpartx.

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

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 11-09-2011, 10:01 PM
Christophe Varoqui
 
Default Add missing break statement in kpartx.

> 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.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 06:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org