[PATCH] null dereference in fs/jbd2/journal.c
authorDave Kleikamp <shaggy@austin.ibm.com>
Tue, 17 Oct 2006 07:09:35 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:43 +0000 (08:18 -0700)
commit5eb30790d4ccd3409240a80eaf9ab76b4fb75fd8
treecab8f6c10fc4e63f3ffe2df1c67591adbb5c86a0
parent3f4a0b917ce72ef47e438d354c433eb645218e87
[PATCH] null dereference in fs/jbd2/journal.c

This is Eric Sesterhenn's jbd patch applied to jbd2.
Commit: 41716c7c21b15e7ecf14f0caf1eef3980707fb74

His words:

Since commit d1807793e1e7e502e3dc047115e9dbc3b50e4534 we dereference a NULL
pointer.  Coverity id #1432.  We set journal to NULL, and use it directly
afterwards.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd2/journal.c