Skip to content

Commit

Permalink
Squashfs: update comment removing reference to zlib only
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
plougher committed Mar 10, 2012
1 parent 4826d83 commit ec9267b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/squashfs/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec9267b

Please sign in to comment.