Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5352628rwb; Tue, 1 Aug 2023 00:42:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFJ0yC3P4aYWLifynYz3YN+ZeVASlKqHGqM5wqa5dAuu2XQzkkbOy4jqUAd2cm1Km2cffTF X-Received: by 2002:aa7:c410:0:b0:522:29c9:d30 with SMTP id j16-20020aa7c410000000b0052229c90d30mr1863387edq.10.1690875737436; Tue, 01 Aug 2023 00:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690875737; cv=none; d=google.com; s=arc-20160816; b=xITCNvrny7h8hQsZfroOnlfRo/UjMEAQ6qhjx+9+ieL3yK63etLhw72XSdvR8YogKY O/idLCsmSAtcgmNNfsoDzLWt0CuqQaPcwTBb+alrFfahpfjv4fZtj0MxNVxDiqeZv3tW 6NgEpVxlonMxvDIzrNZQ2G15zxjx9rLNNT8C1PvkFOy+JEff8w4Sc2I28VrilVIJTN8J TnUITejwXDdN71eOpQUzEe+yN5WEJcP0FHeomlembh+TW8Mrbph3vPXVk7IlOrljaMDT PCubEdbnDNS+B4q7MlV4uE249+s+9vC6eai6IP9ObzNpBnq4bfL1/VuD6vcWilR/ZzE+ 8C+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=x8eMXDVeYJO73bJXLY/8tbPclge6mJ7KxbDb+/zZtKE=; fh=F9xCCxvmjBfpEWj2VgAbW2B0Ohe3G91BL4x0hknkoYI=; b=jPmxdnYdUNL+eXgJCdZ2vQ/CIKysi8Wwvyda6MoFjattQQumxlql2/DSnIiB2xuSrG 8mOB0ZnlzHVC9NsCHmlFAFZ2xdUoDeMFQEia2dMVg3xfHXw0nm+G2hbvJpCRWEDg8APa Zq5GXmikQ5tgcvkc83sVPRo7V8BP+5vnRFvrjqAGujUvceorT7OKTN/6QvATK5+u0syW oIufKuoVJDQgwJYOfk0PfAU/2qPs2vMh7281rdfhvdVtUvbL6QcnnZbs4B7LnujLxpuI CBRuYn2wYyhtnKyOEpaB3rPpTlOQiJHJgQKOZlLwVRtTli9SdA10M/o1Zx2tyNiK0hlK bOBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z5orV3In; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020aa7df02000000b0051de3796896si7968627edy.211.2023.08.01.00.41.53; Tue, 01 Aug 2023 00:42:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z5orV3In; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231154AbjHAHTL (ORCPT + 99 others); Tue, 1 Aug 2023 03:19:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjHAHTK (ORCPT ); Tue, 1 Aug 2023 03:19:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBCFDDA; Tue, 1 Aug 2023 00:19:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 774B7612FB; Tue, 1 Aug 2023 07:19:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E3C9C433C7; Tue, 1 Aug 2023 07:19:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690874348; bh=jnyy5lbqh8mKeSlCJwRDU0YAxsEpR+81SdigSgifSek=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z5orV3In/o/+my1+x2Cl/d7BP+kFQ6XA9J9sj8S/DFdXrRcfYpvKbwXyp8i1vU59h VC5nODiveAkHwtveFBxKHjWTOBy/g7o74VbVJo0ZhLR979cpgmdAsSSDYc8098H6CQ yIUGGKbD8uNNwUHjVlEkhyLIdi9jMWtSJAjNdP9se0sLZ89Q4ZO20CkVRdtviyYdL9 r0HjGEgwwUinapusUiDfhJMOqzec+Zx9je6YYlZewQhVy6wpu5DaH76yMI+91xW3E0 dn7dErk4xOEai9r2u5JiNvv+/IiqP9FSXdiuiXLID90dYJCQ/kOvNdkEG39KIqLSoI vTueQME4V9HEA== Date: Tue, 1 Aug 2023 09:19:05 +0200 From: Christian Brauner To: Gao Xiang Cc: linux-erofs@lists.ozlabs.org, LKML , Christoph Hellwig , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] erofs: drop unnecessary WARN_ON() in erofs_kill_sb() Message-ID: <20230801-halbe-bankgeheimnis-792a18bdc440@brauner> References: <20230731-flugbereit-wohnlage-78acdf95ab7e@brauner> <20230801014737.28614-1-hsiangkao@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230801014737.28614-1-hsiangkao@linux.alibaba.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 01, 2023 at 09:47:37AM +0800, Gao Xiang wrote: > Previously, .kill_sb() will be called only after fill_super fails. > It will be changed [1]. > > Besides, checking for s_magic in erofs_kill_sb() is unnecessary from > any point of view. Let's get rid of it now. > > [1] https://lore.kernel.org/r/20230731-flugbereit-wohnlage-78acdf95ab7e@brauner > Signed-off-by: Gao Xiang > --- > will upstream this commit later this week after it lands -next. Thanks, Acked-by: Christian Brauner