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 C88AEC433EF for ; Mon, 11 Apr 2022 07:19:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245210AbiDKHWB (ORCPT ); Mon, 11 Apr 2022 03:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245268AbiDKHWA (ORCPT ); Mon, 11 Apr 2022 03:22:00 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D357B22519; Mon, 11 Apr 2022 00:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=AR8QC61yGQHhMbaA1VOmFDdMiWypclNTg/sdPKKzHrg=; b=QhuTMRZ62mi0LUOB7325zEvr1c fJCpbf7TIXY4Lqlj6F0Vk4jfXzHB6vQ7DYmpA9xa2If0dCmUZKgqDX5j7sjiAYElokO6zFrsOB12y cTMwhE3BOty8BjxYN0UoQ5OggfptIOvGY9Zteofpu0mXSuGRVOL5J30LGIrfI8sjfMc9ZQT2kzxYL 63O8dBk/GP0zf5jOFGmASNHSjHhYXrw7Orvrns60XaEAtk4Y45yevueYhyQix7lR4CcgoUC9b7uzL NGyMOpQ5yvNq0mDZQ43kYt20+uxGRFnLlzPLh/o9aS3rkFpPjWNUjxvGlPIGSqzSPxZaK0cIOaU4Y 9y4zK8vQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndoKu-0079wR-Jz; Mon, 11 Apr 2022 07:19:44 +0000 Date: Mon, 11 Apr 2022 00:19:44 -0700 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , Qu Wenruo , linux-btrfs@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/4] btrfs: avoid double clean up when submit_one_bio() failed Message-ID: References: <6b8983dd0a3a28155fa7d786bae0a8bf932cdbab.1649657016.git.wqu@suse.com> <63cca59f-5962-339c-db9d-c93255962a65@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <63cca59f-5962-339c-db9d-c93255962a65@gmx.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, Apr 11, 2022 at 03:15:23PM +0800, Qu Wenruo wrote: > This patch itself is for backport, thus I didn't change the return type > to make backport easier. Umm, if you don't remove all that buggy error handling code in a backport you'll have to fix it. So do the right thing here and just get rid of it ASAP including for the backport.