ext4: Avoid null pointer dereference when decoding EROFS w/o a journal
authorTheodore Ts'o <tytso@mit.edu>
Tue, 28 Jul 2009 03:09:47 +0000 (23:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 Jul 2009 03:09:47 +0000 (23:09 -0400)
commit78f1ddbb498283c2445c11b0dfa666424c301803
treeaa25853e60d224812103ea5b5e520fc41d57cb05
parent43b38520296d0c1730c78c878e1d6d1a49122091
ext4: Avoid null pointer dereference when decoding EROFS w/o a journal

We need to check to make sure a journal is present before checking the
journal flags in ext4_decode_error().

Signed-off-by: Eric Sesterhenn <eric.sesterhenn@lsexperts.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c