History

mm, kasan: fix compilation for CONFIG_SLAB

Add the missing argument to set_track().

Alexander Potapenko committed 10 years ago

Commit 0b355ea1 parent b39c3cf1 file · +1 −1Browse files

Unified · Split

mm/kasan/kasan.c+1−1
@@ -498,7 +498,7 @@ void kasan_slab_free(struct kmem_cache *cache, void *object) · 497 unmodified lines
498498 struct kasan_alloc_meta *alloc_info =
499499 get_alloc_info(cache, object);
500500 alloc_info->state = KASAN_STATE_FREE;
501− set_track(&free_info->track);
501+ set_track(&free_info->track, GFP_NOWAIT);
502502 }
503503 #endif
504504