aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/slab.c b/mm/slab.c
index cd86f15071ad..324446621b3e 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3478,11 +3478,11 @@ free_done:
3478 * Release an obj back to its cache. If the obj has a constructed state, it must 3478 * Release an obj back to its cache. If the obj has a constructed state, it must
3479 * be in this state _before_ it is released. Called with disabled ints. 3479 * be in this state _before_ it is released. Called with disabled ints.
3480 */ 3480 */
3481static inline void __cache_free(struct kmem_cache *cachep, void *objp, 3481static __always_inline void __cache_free(struct kmem_cache *cachep, void *objp,
3482 unsigned long caller) 3482 unsigned long caller)
3483{ 3483{
3484 /* Put the object into the quarantine, don't touch it for now. */ 3484 /* Put the object into the quarantine, don't touch it for now. */
3485 if (kasan_slab_free(cachep, objp)) 3485 if (kasan_slab_free(cachep, objp, _RET_IP_))
3486 return; 3486 return;
3487 3487
3488 ___cache_free(cachep, objp, caller); 3488 ___cache_free(cachep, objp, caller);