diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -162,8 +162,7 @@ void anon_vma_unlink(struct vm_area_struct *vma) | |||
162 | static void anon_vma_ctor(void *data, struct kmem_cache *cachep, | 162 | static void anon_vma_ctor(void *data, struct kmem_cache *cachep, |
163 | unsigned long flags) | 163 | unsigned long flags) |
164 | { | 164 | { |
165 | if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == | 165 | if (flags & SLAB_CTOR_CONSTRUCTOR) { |
166 | SLAB_CTOR_CONSTRUCTOR) { | ||
167 | struct anon_vma *anon_vma = data; | 166 | struct anon_vma *anon_vma = data; |
168 | 167 | ||
169 | spin_lock_init(&anon_vma->lock); | 168 | spin_lock_init(&anon_vma->lock); |