30 Dec, 2011
2 commits
-
squashfs_cache_get() iterates over all entries to search for
block its looking for. Often get() / put() are called for
same block.If we cache the current entry index, then we can optimise the
subsequent *_get() calls.Signed-off-by: Ajeet Yadav
Signed-off-by: Phillip Lougher -
squashfs_read_metadata forgets to release the cache block if
an error has occurred.Signed-off-by: Phillip Lougher
27 May, 2011
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus:
Squashfs: update email address
Squashfs: add extra sanity checks at mount time
Squashfs: add sanity checks to fragment reading at mount time
Squashfs: add sanity checks to lookup table reading at mount time
Squashfs: add sanity checks to id reading at mount time
Squashfs: add sanity checks to xattr reading at mount time
Squashfs: reverse order of filesystem table reading
Squashfs: move table allocation into squashfs_read_table()
26 May, 2011
2 commits
-
My existing email address may stop working in a month or two, so update
email to one that will continue working.Signed-off-by: Phillip Lougher
-
This eliminates a lot of duplicate code.
Signed-off-by: Phillip Lougher
10 May, 2011
1 commit
-
- kenrel -> kernel
- whetehr -> whether
- ttt -> tt
- sss -> ssSigned-off-by: Justin P. Mattock
Signed-off-by: Jiri Kosina
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
14 Jan, 2011
1 commit
-
Move squashfs_i() definition out of squashfs.h, this eliminates
the need to #include squashfs_fs_i.h from numerous files.Signed-off-by: Phillip Lougher
21 Jan, 2010
1 commit
-
Move zlib buffer init/destroy code into separate wrapper file. Also
make zlib z_stream field a void * removing the need to include zlib.h
for most files.Signed-off-by: Phillip Lougher
13 May, 2009
1 commit
-
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
05 Mar, 2009
1 commit
-
This fixes a code regression caused by the recent mainlining changes.
The recent code changes call zlib_inflate repeatedly, decompressing into
separate 4K buffers, this code didn't check for the possibility that
zlib_inflate might ask for too many buffers when decompressing corrupted
data.Signed-off-by: Phillip Lougher
05 Jan, 2009
1 commit
-
Signed-off-by: Phillip Lougher