From: Phillip Lougher Date: Mon, 2 Jan 2012 17:47:14 +0000 (+0000) Subject: Squashfs: fix mount time sanity check for corrupted superblock X-Git-Tag: v3.2.29~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bddad580a7b4d023a981e2cbdf0c9e3837f6505;p=pandora-kernel.git Squashfs: fix mount time sanity check for corrupted superblock commit cc37f75a9ffbbfcb1c3297534f293c8284e3c5a6 upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed