diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1220,8 +1220,8 @@ static unsigned long kmem_cache_flags(unsigned long object_size, | |||
1220 | /* | 1220 | /* |
1221 | * Enable debugging if selected on the kernel commandline. | 1221 | * Enable debugging if selected on the kernel commandline. |
1222 | */ | 1222 | */ |
1223 | if (slub_debug && (!slub_debug_slabs || | 1223 | if (slub_debug && (!slub_debug_slabs || (name && |
1224 | !strncmp(slub_debug_slabs, name, strlen(slub_debug_slabs)))) | 1224 | !strncmp(slub_debug_slabs, name, strlen(slub_debug_slabs))))) |
1225 | flags |= slub_debug; | 1225 | flags |= slub_debug; |
1226 | 1226 | ||
1227 | return flags; | 1227 | return flags; |