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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05E99C43334 for ; Tue, 5 Jul 2022 17:19:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232374AbiGERTE (ORCPT ); Tue, 5 Jul 2022 13:19:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232348AbiGERTD (ORCPT ); Tue, 5 Jul 2022 13:19:03 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98DA52658 for ; Tue, 5 Jul 2022 10:19:02 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 0B4BA67373; Tue, 5 Jul 2022 19:18:59 +0200 (CEST) Date: Tue, 5 Jul 2022 19:18:58 +0200 From: Christoph Hellwig To: Nikolay Borisov Cc: Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, Boris Burkov Subject: Re: [PATCH 3/4] btrfs: remove the start argument to check_data_csum Message-ID: <20220705171858.GC15148@lst.de> References: <20220630160130.2550001-1-hch@lst.de> <20220630160130.2550001-4-hch@lst.de> <1376ac49-d51a-8004-d05a-eddfb6dd0d93@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1376ac49-d51a-8004-d05a-eddfb6dd0d93@suse.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Tue, Jul 05, 2022 at 06:35:59PM +0300, Nikolay Borisov wrote: >> +int check_data_csum(struct inode *inode, struct btrfs_bio *bbio, u32 bio_offset, >> + struct page *page, u32 pgoff) > > nit: The removal of the static could be tucked into the next patch as > that's where it's being used for the first time. I can do that if is generally preferred, but this version causes less churn, especially with the annoying btrfs style of the variable prototype continuation indentation.