Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5373072rwb; Tue, 1 Aug 2023 01:08:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlGaOTQPUur1Tjf2Xw9TMWj2UX1CSO7IDBDWkgJc6K24kRU+qSNH+DtsGmJ8jeHn2W2L3046 X-Received: by 2002:a05:6a21:6d82:b0:132:79da:385a with SMTP id wl2-20020a056a216d8200b0013279da385amr12453298pzb.23.1690877285234; Tue, 01 Aug 2023 01:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690877285; cv=none; d=google.com; s=arc-20160816; b=oMKuyrS5EFRNLDgU7J+xzxywhTS+LX27WYAKkc0jGwBrrHopIb3j9hq5QKzlcyi8Ii AN/r7o63nkDL6zE5InTMBXLMIiMp2X+jttBhnjGgM5ilEFKx1Jl1Hf62Xddc8YtJkUFa d3yxXv98ZIiVThK3mIGTTkP4qY/+BN1AfnyJAp5syxchFelMMc3oq4H+5RniDfsxMIJT a9PNwNBpZpt6MpiFTxKaDsXwbe58pUWXiExkpwo3kEWzwI+MWjIFVMC9nRItvkddRv6H ITKggZ+6VEEfdkXqevmwYQx4vK+OadiiICd1bGuXVUHE7t6+NuaRKxYZcPBQ7IppllR+ DKsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=j03vJKxwUtvkqyE7MwTJ+fQIm3hP8Sx3D7xeul7xYN8=; fh=rLalcc7sHxt9wsRAiiCwPq7rV8jh7vfkBfLwQ089i0k=; b=b5ghNe2nyriTkSqTg62duxi/jwwCUiIgnww1sbp0ATsG0Kf2NTwbVpG45lHntvr4U1 jCzr+qzn+Ni6u1UzcjsaRdolHMQJCeb0hmuCtl/VJPdyOEEqPm9/b0P2hEK5bzvwW7Jh lqf0qp5A1s4KBJ2ZgEfhWxMZQxcgsizot2mcKN4mERC4D05NSdN3/aJEQSgtgMz5xwB8 tAPy799GpIgUYaM6jzJ3x+RDKMm1vTXzRsPBkWjxxvTmHGsFniH6+wuxk3LOurG1PVKU RRPmzzUlppeN4xhIR32znsoDqTJfu1S3rTW32HFcFlIx/o6VInd7PfpBlv5R18MooeU2 M/Gw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cn4-20020a056a00340400b006875274da0csi1017057pfb.310.2023.08.01.01.07.52; Tue, 01 Aug 2023 01:08:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232020AbjHAHvf (ORCPT + 99 others); Tue, 1 Aug 2023 03:51:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbjHAHvd (ORCPT ); Tue, 1 Aug 2023 03:51:33 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAACFE49; Tue, 1 Aug 2023 00:51:32 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 56FCF68AA6; Tue, 1 Aug 2023 09:51:29 +0200 (CEST) Date: Tue, 1 Aug 2023 09:51:29 +0200 From: Christoph Hellwig To: Gao Xiang Cc: linux-erofs@lists.ozlabs.org, LKML , Christian Brauner , Christoph Hellwig , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] erofs: drop unnecessary WARN_ON() in erofs_kill_sb() Message-ID: <20230801075129.GA23838@lst.de> References: <20230731-flugbereit-wohnlage-78acdf95ab7e@brauner> <20230801014737.28614-1-hsiangkao@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801014737.28614-1-hsiangkao@linux.alibaba.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,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. Looks good: Reviewed-by: Christoph Hellwig