aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2012-03-05 20:18:49 -0500
committerPhillip Lougher <phillip@squashfs.org.uk>2012-03-09 22:01:00 -0500
commitec9267b61dca524ccd111b593dcfa4bbcb81ecd6 (patch)
tree00fbaa21005a66fe1eaed6b1c47cec1104d6a2f2
parent4826d83d9c4f6bbf61f997e7b68547b4bffd8a49 (diff)
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,
83 * filesystem), otherwise the length is obtained from the first two bytes of 83 * filesystem), otherwise the length is obtained from the first two bytes of
84 * the metadata block. A bit in the length field indicates if the block 84 * the metadata block. A bit in the length field indicates if the block
85 * is stored uncompressed in the filesystem (usually because compression 85 * is stored uncompressed in the filesystem (usually because compression
86 * generated a larger block - this does occasionally happen with zlib). 86 * generated a larger block - this does occasionally happen with compression
87 * algorithms).
87 */ 88 */
88int squashfs_read_data(struct super_block *sb, void **buffer, u64 index, 89int squashfs_read_data(struct super_block *sb, void **buffer, u64 index,
89 int length, u64 *next_index, int srclength, int pages) 90 int length, u64 *next_index, int srclength, int pages)