Skip to content

Commit ec9267b

Browse files
committed
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>
1 parent 4826d83 commit ec9267b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎fs/squashfs/block.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ static struct buffer_head *get_block_length(struct super_block *sb,
8383
* filesystem), otherwise the length is obtained from the first two bytes of
8484
* the metadata block. A bit in the length field indicates if the block
8585
* 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).
8788
*/
8889
int squashfs_read_data(struct super_block *sb, void **buffer, u64 index,
8990
int length, u64 *next_index, int srclength, int pages)

0 commit comments

Comments
 (0)