aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 40e92d8d4bc6..beac34a5e4fd 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1661,7 +1661,7 @@ static int calculate_sizes(struct kmem_cache *s)
1661 */ 1661 */
1662 size += 2 * sizeof(struct track); 1662 size += 2 * sizeof(struct track);
1663 1663
1664 if (flags & DEBUG_DEFAULT_FLAGS) 1664 if (flags & SLAB_RED_ZONE)
1665 /* 1665 /*
1666 * Add some empty padding so that we can catch 1666 * Add some empty padding so that we can catch
1667 * overwrites from earlier objects rather than let 1667 * overwrites from earlier objects rather than let