Squashfs: fix mount time sanity check for corrupted superblock
authorPhillip Lougher <phillip@squashfs.org.uk>
Mon, 2 Jan 2012 17:47:14 +0000 (17:47 +0000)
committerPhillip Lougher <phillip@squashfs.org.uk>
Mon, 2 Jan 2012 17:47:14 +0000 (17:47 +0000)
A Squashfs filesystem containing nothing but an empty directory,
although unusual and ultimately pointless, is still valid.

The directory_table >= next_table sanity check rejects these
filesystems as invalid because the directory_table is empty and
equal to next_table.

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>

No differences found