From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx131.postini.com [74.125.245.131]) by kanga.kvack.org (Postfix) with SMTP id 2FFE16B005A for ; Fri, 3 Aug 2012 15:21:51 -0400 (EDT) Message-Id: <20120803192149.418388119@linux.com> Date: Fri, 03 Aug 2012 14:20:55 -0500 From: Christoph Lameter Subject: Common10 [03/20] Rename oops label References: <20120803192052.448575403@linux.com> Content-Disposition: inline; filename=remove_oops Sender: owner-linux-mm@kvack.org List-ID: To: Glauber Costa Cc: Pekka Enberg , linux-mm@kvack.org, David Rientjes , Joonsoo Kim The label is actually used for successful exits so change the name. Easy to do now before more users of this label surface. Signed-off-by: Christoph Lameter Index: linux-2.6/mm/slab_common.c =================================================================== --- linux-2.6.orig/mm/slab_common.c 2012-08-02 09:18:07.570384286 -0500 +++ linux-2.6/mm/slab_common.c 2012-08-02 09:18:53.311194644 -0500 @@ -89,7 +89,7 @@ name); dump_stack(); s = NULL; - goto oops; + goto out_locked; } } @@ -99,7 +99,7 @@ s = __kmem_cache_create(name, size, align, flags, ctor); #ifdef CONFIG_DEBUG_VM -oops: +out_locked: #endif mutex_unlock(&slab_mutex); put_online_cpus(); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org