Found by checkpatch - WARNING: labels should not be indented

Cc: Christophe Varoqui <[email protected]>
Cc: device-mapper development <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
 kpartx/devmapper.c       | 4 ++--
 libmultipath/devmapper.c | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/kpartx/devmapper.c b/kpartx/devmapper.c
index 382f511..474d879 100644
--- a/kpartx/devmapper.c
+++ b/kpartx/devmapper.c
@@ -47,7 +47,7 @@ dm_prereq (char * str, int x, int y, int z)
                target = (void *) target + target->next;
        } while (last_target != target);
 
-       out:
+out:
        dm_task_destroy(dmt);
        return r;
 }
@@ -85,7 +85,7 @@ dm_simplecmd (int task, const char *name, int no_flush, 
uint16_t udev_flags) {
        if (udev_wait_flag)
                        dm_udev_wait(cookie);
 #endif
-       out:
+out:
        dm_task_destroy(dmt);
        return r;
 }
diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c
index 9b2c706..5eb1713 100644
--- a/libmultipath/devmapper.c
+++ b/libmultipath/devmapper.c
@@ -243,7 +243,7 @@ dm_simplecmd (int task, const char *name, int no_flush, int 
need_sync, uint16_t
 
        if (udev_wait_flag)
                        dm_udev_wait(cookie);
-       out:
+out:
        dm_task_destroy (dmt);
        return r;
 }
@@ -327,11 +327,11 @@ dm_addmap (int task, const char *target, struct multipath 
*mpp,
 
        if (task == DM_DEVICE_CREATE)
                        dm_udev_wait(cookie);
-       freeout:
+freeout:
        if (prefixed_uuid)
                FREE(prefixed_uuid);
 
-       addout:
+addout:
        dm_task_destroy (dmt);
 
        return r;
@@ -891,7 +891,7 @@ dm_flush_maps (void)
                names = (void *) names + next;
        } while (next);
 
-       out:
+out:
        dm_task_destroy (dmt);
        return r;
 }
-- 
2.7.4

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to