summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2014-07-23 00:38:27 +0200
committerMike Snitzer <snitzer@redhat.com>2014-07-23 00:38:27 +0200
commit45ccaf4764278f6544db412d38a1bae056ee3acc (patch)
treeb8dff9fc6a08e4a11765fda710f2e6f02b9878f3 /mm
parentdm cache metadata: do not allow the data block size to change (diff)
parentslab_common: fix the check for duplicate slab names (diff)
downloadlinux-45ccaf4764278f6544db412d38a1bae056ee3acc.tar.xz
linux-45ccaf4764278f6544db412d38a1bae056ee3acc.zip
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux into for-3.16-rcX
Diffstat (limited to 'mm')
-rw-r--r--mm/slab_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c
index 735e01a0db6f..d31c4bacc6a2 100644
--- 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);