]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0bd78a3e6e0ec399b4d74a29e756d603801be96
treeaa25853e60d224812103ea5b5e520fc41d57cb05
parentfd126b570f7740cb9ab2d4132c6012d783f6fc55
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