From: Doug Chapman Date: Wed, 13 May 2009 01:56:39 +0000 (+0100) Subject: Squashfs: fix breakage when page size > metadata block size X-Git-Tag: linux-omap-v2.6.30-rc6~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a37b06d589f2c687a38d07569f4ef97c650fde39;p=pandora-kernel.git Squashfs: fix breakage when page size > metadata block size Squashfs is broken on any system where the page size is larger than the metadata size (8192). This is easily fixed by ensuring cache->pages is always > 0. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Doug Chapman Signed-off-by: Andrew Morton Signed-off-by: Phillip Lougher --- Reading git-diff-tree failed