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 A121CC433EF for ; Sun, 19 Jun 2022 06:35:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbiFSGfv (ORCPT ); Sun, 19 Jun 2022 02:35:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbiFSGfu (ORCPT ); Sun, 19 Jun 2022 02:35:50 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E128389A for ; Sat, 18 Jun 2022 23:35:49 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id A48A168AA6; Sun, 19 Jun 2022 08:35:45 +0200 (CEST) Date: Sun, 19 Jun 2022 08:35:45 +0200 From: Christoph Hellwig To: Johannes Thumshirn Cc: Christoph Hellwig , David Sterba , Josef Bacik , Qu Wenruo , "linux-btrfs@vger.kernel.org" Subject: Re: [PATCH 05/10] btrfs: remove the raid56_parity_recover return value Message-ID: <20220619063545.GA27154@lst.de> References: <20220617100414.1159680-1-hch@lst.de> <20220617100414.1159680-6-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Sat, Jun 18, 2022 at 11:06:06AM +0000, Johannes Thumshirn wrote: > On 17.06.22 12:04, Christoph Hellwig wrote: > > - ret = lock_stripe_add(rbio); > > + if (lock_stripe_add(rbio)) > > + return; > > > > I kinda have the feeling lock_stripe_add() should return bool, > but that's out of scope for this patch. Yes, it should. But it does not fit this patch, and even the series seems big enough already as-is..