lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Sep 2013 17:15:13 +0800
From:	baisong zhong <baisong.zhong@...il.com>
To:	gregkh@...uxfoundation.org
Cc:	linux-kernel@...r.kernel.org,
	zhongbaisong <baisong.zhong@...il.com>
Subject: [PATCH]    adjust the error labels to make it clear

From: zhongbaisong <baisong.zhong@...il.com>

Signed-off-by: zhongbaisong <baisong.zhong@...il.com>
---
 fs/sysfs/mount.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index afd8327..f6681a6 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -182,12 +182,12 @@ int __init sysfs_init(void)
 		}
 	} else
 		goto out_err;
-out:
-	return err;
+
 out_err:
 	kmem_cache_destroy(sysfs_dir_cachep);
 	sysfs_dir_cachep = NULL;
-	goto out;
+out:
+	return err;
 }
 
 #undef sysfs_get
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ