Skip to content

Commit c86bdc9

Browse files
adam900710kdave
authored andcommitted
btrfs: remove a stale comment for btrfs_decompress_bio()
Since commit 8140dc3 ("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>
1 parent bb93000 commit c86bdc9

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

fs/btrfs/compression.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,20 +1212,6 @@ int btrfs_compress_pages(unsigned int type_level, struct address_space *mapping,
12121212
return ret;
12131213
}
12141214

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-
*/
12291215
static int btrfs_decompress_bio(struct compressed_bio *cb)
12301216
{
12311217
struct list_head *workspace;

0 commit comments

Comments
 (0)