summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/block.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2012-03-06 02:18:49 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2012-03-10 04:01:00 +0100
commitec9267b61dca524ccd111b593dcfa4bbcb81ecd6 (patch)
tree00fbaa21005a66fe1eaed6b1c47cec1104d6a2f2 /fs/squashfs/block.c
parentSquashfs: use define instead of constant (diff)
downloadlinux-ec9267b61dca524ccd111b593dcfa4bbcb81ecd6.tar.xz
linux-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>
Diffstat (limited to 'fs/squashfs/block.c')
-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)