mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: baisong zhong <baisong.zhong@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, zhongbaisong <baisong.zhong@gmail.com>
Subject: [PATCH]    adjust the error labels to make it clear
Date: Tue, 17 Sep 2013 17:15:13 +0800	[thread overview]
Message-ID: <1379409313-1917-1-git-send-email-baisong.zhong@gmail.com> (raw)

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

Signed-off-by: zhongbaisong <baisong.zhong@gmail.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


             reply	other threads:[~2013-09-17  9:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17  9:15 baisong zhong [this message]
2013-09-17 11:13 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1379409313-1917-1-git-send-email-baisong.zhong@gmail.com \
    --to=baisong.zhong@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®