Skip to content

Commit 9dcfdd8

Browse files
committed
Kernel 5.0.5
1 parent 213056d commit 9dcfdd8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mm/slub.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ static inline bool has_sanitize_verify(struct kmem_cache *s)
135135
return IS_ENABLED(CONFIG_SLAB_SANITIZE_VERIFY) && has_sanitize(s);
136136
}
137137

138-
static inline bool has_sanitize_verify(struct kmem_cache *s)
139-
{
140-
return IS_ENABLED(CONFIG_SLAB_SANITIZE_VERIFY) && has_sanitize(s);
141-
}
142-
143138
void *fixup_red_left(struct kmem_cache *s, void *p)
144139
{
145140
if (kmem_cache_debug(s) && s->flags & SLAB_RED_ZONE)
@@ -3060,12 +3055,8 @@ static __always_inline void do_slab_free(struct kmem_cache *s,
30603055

30613056
if (sanitize) {
30623057
memset(x + offset, 0, s->object_size - offset);
3063-
<<<<<<< HEAD
30643058
if (!IS_ENABLED(CONFIG_SLAB_SANITIZE_VERIFY) &&
30653059
s->ctor)
3066-
=======
3067-
if (!IS_ENABLED(CONFIG_SLAB_SANITIZE_VERIFY) && s->ctor)
3068-
>>>>>>> slub: add multi-purpose random canaries
30693060
s->ctor(x);
30703061
}
30713062
if (x == tail_obj)

0 commit comments

Comments
 (0)