diff options
author | Tero Roponen <tero.roponen@gmail.com> | 2010-12-01 20:04:20 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2010-12-04 09:53:49 +0200 |
commit | 37d57443d5d810c6ef49e93586b046e7d4774818 (patch) | |
tree | 6ec5560ce1a496639ec957735288ba703133a83a /fs/ocfs2 | |
parent | e8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff) | |
download | linux-37d57443d5d810c6ef49e93586b046e7d4774818.tar.gz linux-37d57443d5d810c6ef49e93586b046e7d4774818.tar.bz2 linux-37d57443d5d810c6ef49e93586b046e7d4774818.zip |
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>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions