From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5D81C2B9F4 for ; Thu, 17 Jun 2021 05:15:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9EE71613CB for ; Thu, 17 Jun 2021 05:15:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbhFQFRG (ORCPT ); Thu, 17 Jun 2021 01:17:06 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:42416 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbhFQFRF (ORCPT ); Thu, 17 Jun 2021 01:17:05 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 4E0C721ACA; Thu, 17 Jun 2021 05:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1623906897; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MBboq5jVccu41+Xfiqf2A7HSMFmNNME1JJY2zG5OaoU=; b=p/a+IfCrMb2nWHieJeZsA6rDg4GB8tgfD0HU57zD5JlFoYK/hruw0L/CGAW8G89XkR2EvS pR2TxCQQoW54hnnDRQVTOGM4IhMRl8r2sSn9V30zGP6iGnEChA01kH4ZnmiPmp4XBgiqGy W3k9YHmbHwt5oXthnJ4iuXZ7Drj90jY= Received: from adam-pc.lan (unknown [10.163.16.38]) by relay2.suse.de (Postfix) with ESMTP id 47F50A3BAF; Thu, 17 Jun 2021 05:14:54 +0000 (UTC) From: Qu Wenruo To: linux-btrfs@vger.kernel.org Cc: Anand Jain , Johannes Thumshirn Subject: [PATCH v4 1/9] btrfs: remove a dead comment for btrfs_decompress_bio() Date: Thu, 17 Jun 2021 13:14:42 +0800 Message-Id: <20210617051450.206704-2-wqu@suse.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210617051450.206704-1-wqu@suse.com> References: <20210617051450.206704-1-wqu@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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. Signed-off-by: Qu Wenruo Reviewed-by: Anand Jain Reviewed-by: Johannes Thumshirn --- fs/btrfs/compression.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 35ca49893803..9a023ae0f98b 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -1212,20 +1212,6 @@ int btrfs_compress_pages(unsigned int type_level, struct address_space *mapping, return ret; } -/* - * pages_in is an array of pages with compressed data. - * - * disk_start is the starting logical offset of this array in the file - * - * orig_bio contains the pages from the file that we want to decompress into - * - * srclen is the number of bytes in pages_in - * - * The basic idea is that we have a bio that was created by readpages. - * The pages in the bio are for the uncompressed data, and they may not - * be contiguous. They all correspond to the range of bytes covered by - * the compressed extent. - */ static int btrfs_decompress_bio(struct compressed_bio *cb) { struct list_head *workspace; -- 2.32.0