Tero Roponen 37d57443d5 slub: Fix a crash during slabinfo -v
Commit f7cb1933621bce66a77f690776a16fe3ebbc4d58 ("SLUB: Pass active
and inactive redzone flags instead of boolean to debug functions")
missed two instances of check_object(). This caused a lot of warnings
during 'slabinfo -v' finally leading to a crash:

  BUG ext4_xattr: Freepointer corrupt
  ...
  BUG buffer_head: Freepointer corrupt
  ...
  BUG ext4_alloc_context: Freepointer corrupt
  ...
  ...
  BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
  IP: [<ffffffff810a291f>] file_sb_list_del+0x1c/0x35
  PGD 79d78067 PUD 79e67067 PMD 0
  Oops: 0002 [#1] SMP
  last sysfs file: /sys/kernel/slab/:t-0000192/validate

This patch fixes the problem by converting the two missed instances.

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tero Roponen <tero.roponen@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
2010-12-04 09:53:49 +02:00
..
2010-11-12 07:55:32 -08:00
2010-08-08 21:57:23 +01:00
2010-10-04 11:09:53 -07:00
2010-10-28 10:04:30 -07:00
2010-09-09 09:05:06 -07:00
2010-10-30 08:45:43 -04:00
2010-10-26 16:52:08 -07:00
2010-11-25 06:50:38 +09:00
2010-10-26 16:52:10 -07:00
2010-10-29 04:16:31 -04:00
2010-12-04 09:53:49 +02:00
2010-10-27 18:03:17 -07:00
2010-10-26 16:52:11 -07:00
2010-10-24 10:51:24 +02:00