squashfs: fix warn_on when root inode is corrupted
commit1cb08e97389bb603e1b999312d9686c8faf0187a
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Fri, 16 Apr 2010 00:01:36 +0000 (16 01:01 +0100)
committerPhillip Lougher <phillip@lougher.demon.co.uk>
Sun, 25 Apr 2010 00:49:17 +0000 (25 01:49 +0100)
treeeb09f54f0eae17a29c5f09418558d7ed141d4454
parent792590c72376649b4e315df386fd208b83db05b9
squashfs: fix warn_on when root inode is corrupted

Fix warn_on triggered by mounting a fsfuzzer corrupted file system, where
the root inode has been corrupted.

Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Reported-by: Steve Grubb <sgrubb@redhat.com>
fs/squashfs/super.c