Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10135964rwb; Fri, 25 Nov 2022 01:13:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf4OGDUUSySb7NskcNld0OkCwQVmpjMJl29XItCPWdpriVVE7m30Y62w2bcw10qAG1nw9qi4 X-Received: by 2002:a17:906:1ecf:b0:7ad:902c:d1d6 with SMTP id m15-20020a1709061ecf00b007ad902cd1d6mr19234071ejj.143.1669367601648; Fri, 25 Nov 2022 01:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669367601; cv=none; d=google.com; s=arc-20160816; b=ZuLoqcyUHvFdCfy+wpCO5ccQKVUXyLmwe40s45vGk9JA4KY1hIwO9nIQPn0hFZ3op/ 0szPsH/2u9k/SDnB8IlExX5puxif1Cf+h1LePZ8zqO9HlZPTJ2OxjPH8+sgBkq21ZniA 3ZFfGiFFWaVFa5JD1+CHC043OmwY+rxUydpqWCJVYD1hN1VpcC124OxfdlfieMcPrik8 xzmzX7xeCuAx2Avk/Tw2LjSX9nmyv9ueGl9J/iM6kryCYMNdH+mENp+8TypKnGzPTeSz oQRngQxq5++rdog1+o1B6MvwBJ9AlFl7wDLsi+UTiBz78f9WnScEXo8vQoyxlP8prZhp yiIg== 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; bh=EuydnuhBQD9uck8ZXbCT6UxE0aZdcIoo3D4If55c4pY=; b=irLQLwufu9jRdHfMryeV4JnjSQflS/eBBOjn8+xBk8SpzKX5ZB4ninvIhOqxqmp3az 5lGtACMCciF69sXbV1ZTixvZ0jyDYceG4Hq/a/yMeNquSJUZLw7ZZhYcfqZk7ACuiQgk XoOYI6tYX/cbsFXoIGjOT2I+r1kQhMnIbnG85dMaZ522bz/yN6FB/BtKh3dwn0M12tDa tk6agc3zI7uzmNeILLYMJfdofo+apQ//4yIsf2X/Hzh+x3hrhdyq7k/pF2ojkhe7l7tX L3v53nT36etj5EOWGoAs54Lznr8ZThNMNVvB0P8SX5rUUA42u8PG7OVHbUzlJfi4j/Z6 xryg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020a170906349700b007ad86f97b36si2342577ejb.560.2022.11.25.01.13.00; Fri, 25 Nov 2022 01:13:21 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229635AbiKYIz3 (ORCPT + 86 others); Fri, 25 Nov 2022 03:55:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbiKYIz0 (ORCPT ); Fri, 25 Nov 2022 03:55:26 -0500 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E765D31F94 for ; Fri, 25 Nov 2022 00:55:22 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VVefQ1k_1669366518; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VVefQ1k_1669366518) by smtp.aliyun-inc.com; Fri, 25 Nov 2022 16:55:20 +0800 Date: Fri, 25 Nov 2022 16:55:17 +0800 From: Gao Xiang To: Hou Tao Cc: Jia Zhu , linux-erofs@lists.ozlabs.org, Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , houtao1@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [External] [PATCH] erofs: check the uniqueness of fsid in shared domain in advance Message-ID: References: <20221125074057.2229083-1-houtao@huaweicloud.com> <49b2b8e4-39d0-983c-23c6-f18232a7dff3@bytedance.com> <86bf6991-d46b-be95-06a7-87829e8c5e33@huaweicloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <86bf6991-d46b-be95-06a7-87829e8c5e33@huaweicloud.com> X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Hi Tao, On Fri, Nov 25, 2022 at 04:39:47PM +0800, Hou Tao wrote: > Hi, > > On 11/25/2022 4:25 PM, Jia Zhu wrote: > > Hi Tao, > > We've noticed this warning during development. It seems not a bug, so > > I ignored that. > > Many thanks for cacthing and clearing up the annoying warning. > Yes, it is not a bug. The duplicated mount will fail with -EEXIST even without > the patch. But it is a bit scary to see such warning in dmesg, so just fix it. Thanks for the catch. IMO, a WARN is indeed a bug, we cannot rely on this. Overall the patch itself looks good to me as well, please help Cc LKML mailing list as well in v2... Thanks, Gao Xiang