Messages in this thread Patch in this message | | | From | baisong zhong <> | Subject | [PATCH] adjust the error labels to make it clear | Date | Tue, 17 Sep 2013 17:15:13 +0800 |
| |
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
| |