summaryrefslogtreecommitdiff
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2021-05-29 12:48:36 +0300
committerDavid Sterba <dsterba@suse.com>2021-06-21 16:19:07 +0300
commit4183abf6cbfd8e71c5e19df697d8e43f1a2a6908 (patch)
tree02f58897b53a49790bc72a4b699431b4bb86811d /fs/btrfs/compression.c
parent65b5355f77082804949390dc2629256c8c24f69d (diff)
downloadlinux-4183abf6cbfd8e71c5e19df697d8e43f1a2a6908.tar.xz
btrfs: fix comment about max_out in btrfs_compress_pages
Commit e5d74902362f ("btrfs: derive maximum output size in the compression implementation") removed @max_out argument in btrfs_compress_pages() but its comment remained, remove it. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
-rw-r--r--fs/btrfs/compression.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
index 36731b598770..fdead01568f6 100644
--- a/fs/btrfs/compression.c
+++ b/fs/btrfs/compression.c
@@ -1194,9 +1194,6 @@ static unsigned int btrfs_compress_set_level(int type, unsigned level)
*
* @total_out is an in/out parameter, must be set to the input length and will
* be also used to return the total number of compressed bytes
- *
- * @max_out tells us the max number of bytes that we're allowed to
- * stuff into pages
*/
int btrfs_compress_pages(unsigned int type_level, struct address_space *mapping,
u64 start, struct page **pages,