Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

btrfs: remove a stale comment for btrfs_decompress_bio()

Since commit 8140dc30a432 ("btrfs: btrfs_decompress_bio() could accept
compressed_bio instead"), btrfs_decompress_bio() accepts
"struct compressed_bio" other than open-coded parameter list.

Thus the comments for the parameter list is no longer needed.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>

authored by

Qu Wenruo and committed by
David Sterba
c86bdc9b bb930007

-14
-14
fs/btrfs/compression.c
··· 1212 1212 return ret; 1213 1213 } 1214 1214 1215 - /* 1216 - * pages_in is an array of pages with compressed data. 1217 - * 1218 - * disk_start is the starting logical offset of this array in the file 1219 - * 1220 - * orig_bio contains the pages from the file that we want to decompress into 1221 - * 1222 - * srclen is the number of bytes in pages_in 1223 - * 1224 - * The basic idea is that we have a bio that was created by readpages. 1225 - * The pages in the bio are for the uncompressed data, and they may not 1226 - * be contiguous. They all correspond to the range of bytes covered by 1227 - * the compressed extent. 1228 - */ 1229 1215 static int btrfs_decompress_bio(struct compressed_bio *cb) 1230 1216 { 1231 1217 struct list_head *workspace;