diff options
author | Doug Chapman <doug.chapman@hp.com> | 2009-05-13 03:56:39 +0200 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2009-05-13 03:56:39 +0200 |
commit | a37b06d589f2c687a38d07569f4ef97c650fde39 (patch) | |
tree | 596689185fb6ca381e185815a3f3179902cab9ba /fs/squashfs/super.c | |
parent | Merge branch 'for-linus' of git://repo.or.cz/cris-mirror (diff) | |
download | linux-a37b06d589f2c687a38d07569f4ef97c650fde39.tar.xz linux-a37b06d589f2c687a38d07569f4ef97c650fde39.zip |
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 <doug.chapman@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/super.c')
0 files changed, 0 insertions, 0 deletions