Message ID | alpine.DEB.2.02.1407221539020.5814@chino.kir.corp.google.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E79B2C0514 for <patchwork-dm-devel@patchwork.kernel.org>; Wed, 23 Jul 2014 11:56:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F9A0201BC for <patchwork-dm-devel@patchwork.kernel.org>; Wed, 23 Jul 2014 11:56:12 +0000 (UTC) Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by mail.kernel.org (Postfix) with ESMTP id 23F1C2017D for <patchwork-dm-devel@patchwork.kernel.org>; Wed, 23 Jul 2014 11:56:11 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6NBqGMB014229; Wed, 23 Jul 2014 07:52:17 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s6MMfJbd024483 for <dm-devel@listman.util.phx.redhat.com>; Tue, 22 Jul 2014 18:41:19 -0400 Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.17]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6MMfJsc022366 for <dm-devel@redhat.com>; Tue, 22 Jul 2014 18:41:19 -0400 Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6MMfHax015111 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for <dm-devel@redhat.com>; Tue, 22 Jul 2014 18:41:17 -0400 Received: by mail-ie0-f180.google.com with SMTP id at20so294792iec.39 for <dm-devel@redhat.com>; Tue, 22 Jul 2014 15:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type; bh=zFE44TTZIWoKRVa/m8y2L5KNFHd+dypkDJZbodUhHBQ=; b=KUD0x17lkOU0peOCiMRdVVYUhTU9w5xzI1fRjlxt4JhmaKvC751v0gjud5qoMCrZ35 wtBhQEZpkVBYveghlm+wB7h7PcY5EXgaOUBJoOeZgigBqGtZmM0tfB6jaQWIg0f9bK6/ NyELTtG+LlfSiuOkXR8ip8zLrXY/lNLuSy/egpObmHZ+BF6Hz7FJ9ptIrrJLUBvPw58N 8pPj3lliP//RxQ9okm9TbwpczIUGz/eCzA+U1V7ClIp0t9OKjR9Q3y+4OJh1RVW3zTKp m+UFhZ8xE0AZjwXf6Ri361vT2gJb7AXq5A4kTZ5hEArrRnBuzlPl9JCnU9691Bj1ZkMM SXrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=zFE44TTZIWoKRVa/m8y2L5KNFHd+dypkDJZbodUhHBQ=; b=mEuYsMzRTMqS40MB6S/cL+hAWFAUmuHTOAAA3FVmyTOAYlzbP/kHcAmb+qZPVhgKVQ igFFsGiz6q2n5mFKWKfhSRU9KOjsx7w2QqftHKTSAcnmQdqaXJoGYvqGL5iGEFczM3sn +PUF44D9N/t7HLGR5HuuxDNAGWkdvyYK0qE90+H30pvQL6BGBHPG7M4G8ctkH2KzR4R8 kPKXGuS+LVvmWk5sb3zCF+hmiICG+tmsTFre+06w8cYu7a0jqUJDf99Mwp9PEtI/CDaq yTcuR2NT38xJkkPtgUu5isdE/pvDRIO73xNAcRJQDEAl9RgTotEWGDIXbiB11W6cDQuT xJiA== X-Gm-Message-State: ALoCoQkpzf244ujMX+IdU+1fpmBvlQinaqIwnVL/cZBjixpBAIK3lYWyd5e26srrYcSCpOXYcae5 X-Received: by 10.50.1.37 with SMTP id 5mr20919503igj.47.1406068877079; Tue, 22 Jul 2014 15:41:17 -0700 (PDT) Received: from [2620:0:1008:1101:4192:f069:de2a:dc] ([2620:0:1008:1101:4192:f069:de2a:dc]) by mx.google.com with ESMTPSA id t2sm53164944igs.3.2014.07.22.15.41.15 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 15:41:16 -0700 (PDT) Date: Tue, 22 Jul 2014 15:41:14 -0700 (PDT) From: David Rientjes <rientjes@google.com> X-X-Sender: rientjes@chino.kir.corp.google.com To: Andrew Morton <akpm@linux-foundation.org>, Mike Snitzer <snitzer@redhat.com> In-Reply-To: <20140722221421.GA11318@redhat.com> Message-ID: <alpine.DEB.2.02.1407221539020.5814@chino.kir.corp.google.com> References: <alpine.LRH.2.02.1403041711300.29476@file01.intranet.prod.int.rdu2.redhat.com> <20140325170324.GC580@redhat.com> <alpine.DEB.2.10.1403251306260.26471@nuc> <20140523201632.GA16013@redhat.com> <537FBD6F.1070009@iki.fi> <20140722221421.GA11318@redhat.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-RedHat-Spam-Score: -3.102 (BAYES_00, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.17 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Wed, 23 Jul 2014 07:52:16 -0400 Cc: linux-kernel@vger.kernel.org, Pekka Enberg <penberg@kernel.org>, linux-mm@kvack.org, dm-devel@redhat.com, Mikulas Patocka <mpatocka@redhat.com>, Zdenek Kabelac <zkabelac@redhat.com>, Christoph Lameter <cl@linux.com>, Pekka Enberg <penberg@iki.fi>, "Alasdair G. Kergon" <agk@redhat.com> Subject: [dm-devel] [patch] slab_common: fix the check for duplicate slab names X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development <dm-devel@redhat.com> List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/mm/slab_common.c b/mm/slab_common.c --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -55,7 +55,7 @@ static int kmem_cache_sanity_check(const char *name, size_t size) continue; } -#if !defined(CONFIG_SLUB) || !defined(CONFIG_SLUB_DEBUG_ON) +#if !defined(CONFIG_SLUB) if (!strcmp(s->name, name)) { pr_err("%s (%s): Cache name already exists.\n", __func__, name);