Commit 0b355eaa authored by Alexander Potapenko's avatar Alexander Potapenko Committed by Linus Torvalds
Browse files

mm, kasan: fix compilation for CONFIG_SLAB

Add the missing argument to set_track().

Fixes: cd11016e

 ("mm, kasan: stackdepot implementation. Enable stackdepot for SLAB")
Signed-off-by: default avatarAlexander Potapenko <>
Cc: Andrey Konovalov <>
Cc: Christoph Lameter <>
Cc: Dmitry Vyukov <>
Cc: Andrey Ryabinin <>
Cc: Steven Rostedt <>
Cc: Joonsoo Kim <>
Cc: Konstantin Serebryany <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent b39c3cf4
......@@ -498,7 +498,7 @@ void kasan_slab_free(struct kmem_cache *cache, void *object)
struct kasan_alloc_meta *alloc_info =
get_alloc_info(cache, object);
alloc_info->state = KASAN_STATE_FREE;
set_track(&free_info->track, GFP_NOWAIT);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment