summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2012-03-06 01:18:49 +0000
committerPhillip Lougher <phillip@squashfs.org.uk>2012-03-10 03:01:00 +0000
commitec9267b61dca524ccd111b593dcfa4bbcb81ecd6 (patch)
tree00fbaa21005a66fe1eaed6b1c47cec1104d6a2f2
parent4826d83d9c4f6bbf61f997e7b68547b4bffd8a49 (diff)
downloadlinux-stable-ec9267b61dca524ccd111b593dcfa4bbcb81ecd6.tar.gz
linux-stable-ec9267b61dca524ccd111b593dcfa4bbcb81ecd6.tar.bz2
linux-stable-ec9267b61dca524ccd111b593dcfa4bbcb81ecd6.zip
Squashfs: update comment removing reference to zlib only
Comment was written when Squashfs only supported zlib compression. This comment is now misleading given Squashfs supports other compression algorithms. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
-rw-r--r--fs/squashfs/block.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c
index ed0eb2a921f4..fb50652e4e11 100644
--- a/fs/squashfs/block.c
+++ b/fs/squashfs/block.c
@@ -83,7 +83,8 @@ static struct buffer_head *get_block_length(struct super_block *sb,
* filesystem), otherwise the length is obtained from the first two bytes of
* the metadata block. A bit in the length field indicates if the block
* is stored uncompressed in the filesystem (usually because compression
- * generated a larger block - this does occasionally happen with zlib).
+ * generated a larger block - this does occasionally happen with compression
+ * algorithms).
*/
int squashfs_read_data(struct super_block *sb, void **buffer, u64 index,
int length, u64 *next_index, int srclength, int pages)