From 4ae51ca54e2d0d096dc28a4d8da78a8789423b00 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 8 Sep 2009 17:32:57 +0200 Subject: [PATCH] Remove some tabs used for indent --- src/storage_backend_mpath.c | 41 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/src/storage_backend_mpath.c b/src/storage_backend_mpath.c index 9afee5d810..ae02aacc0e 100644 --- a/src/storage_backend_mpath.c +++ b/src/storage_backend_mpath.c @@ -202,35 +202,34 @@ out: static int virStorageBackendGetMinorNumber(const char *devname, uint32_t *minor) { - int ret = -1; - struct dm_task *dmt; - struct dm_info info; + int ret = -1; + struct dm_task *dmt; + struct dm_info info; - if (!(dmt = dm_task_create(DM_DEVICE_INFO))) { - goto out; - } + if (!(dmt = dm_task_create(DM_DEVICE_INFO))) { + goto out; + } - if (!dm_task_set_name(dmt, devname)) { - goto out; - } + if (!dm_task_set_name(dmt, devname)) { + goto out; + } - if (!dm_task_run(dmt)) { - goto out; - } + if (!dm_task_run(dmt)) { + goto out; + } - if (!dm_task_get_info(dmt, &info)) { - goto out; - } + if (!dm_task_get_info(dmt, &info)) { + goto out; + } - *minor = info.minor; - ret = 0; + *minor = info.minor; + ret = 0; out: - if (dmt != NULL) { - dm_task_destroy(dmt); - } + if (dmt != NULL) + dm_task_destroy(dmt); - return ret; + return ret; }