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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8F99C48BE8 for ; Wed, 16 Jun 2021 05:11:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9C75E613CD for ; Wed, 16 Jun 2021 05:11:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbhFPFNI (ORCPT ); Wed, 16 Jun 2021 01:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbhFPFNG (ORCPT ); Wed, 16 Jun 2021 01:13:06 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CEA9C061574; Tue, 15 Jun 2021 22:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=CY93Q8HkdUaFWEd0CM+L3x5mizqDiuZJg8BZfH45oYY=; b=Za6f2SM7Vq7AHXHxN4C8gmjYlo aOIx4ybFJJskaDdxax79/0MYzY21NgV5WE3JHAFi7x+Um3sjhX6a/FN2IYTbAsZRDz0Pc7mD/cvcg im72QL2U72ZNmYStScgb+HO/PW2wnMYrQ6Jtj03yO8dzv9t3az9dpX9HHi+1llCQPdl8nJE3Ybqmi ud8rS3uJbLn8xv+gzURzk+7iD7rtQcrIiYyWAFDQMaZy+Q1Bcjz3bgeS98J0ze/wFJuDPtCl9eK1/ 2BMYBE8KHqB1eqs+0fUfSvGj1ZYCCyEGvvxVg0WpfsXe5Hz5ay/Obewm4n8dLHBgfxgJ0KJrcRNvr W+u9i8qg==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltNon-007cWm-6e; Wed, 16 Jun 2021 05:10:28 +0000 Date: Wed, 16 Jun 2021 06:10:25 +0100 From: Christoph Hellwig To: Chen Li Cc: Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Brauner , Andrew Morton Subject: Re: [PATCH] ramfs: skip mknod if inode already exists. Message-ID: References: <874kdyh65j.wl-chenli@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874kdyh65j.wl-chenli@uniontech.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 16, 2021 at 10:53:12AM +0800, Chen Li wrote: > > It's possible we try to mknod a dentry, which have > already bound to an inode, just skip it. How do you think this could happen?