[PATCH] null dereference in fs/jbd/journal.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 11 Oct 2006 08:20:37 +0000 (01:20 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:14 +0000 (11:14 -0700)
commit41716c7c21b15e7ecf14f0caf1eef3980707fb74
tree622cd9c92a31969681ef2c0cd865147dfa495933
parent7e491092e442b3f8c0d90d470b398fdb74703ec7
[PATCH] null dereference in fs/jbd/journal.c

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

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/journal.c