Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1130318imm; Thu, 31 May 2018 16:12:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL9t8jhpaiPKGBN5HE7CHdHbTQd61hkZqgQIWkaSn3d09AZ22G7pq3XDsqVH7a0BYb5ti5Z X-Received: by 2002:a17:902:a5:: with SMTP id a34-v6mr8729832pla.58.1527808361100; Thu, 31 May 2018 16:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527808361; cv=none; d=google.com; s=arc-20160816; b=FyibrHQ2iw7ueQBaDpcwf3UAvEiHIs+LoFcpg3Y/bwNW3jykt96yPKLskfa09Sivmz tmMnFZGLr0W7xMSO6O2RoBTtZyAET8RcPpffPeNAt1k+EwAbxOvsSwzMGI82z7nBnV/b oVZzfIQ2qvEqrF3vC8cDfhhpt1iCs8h60ZOOjtxRsDbcUNldPlyn2MNhWrSVVutcvbXm 1QJ+JvOjcDtlePJ4Kvf5OrSPbMl69wnJtQv7B3I/MwZPuN2CBwUCpqoYBmlxKzW+R0yi 2wrrzQYjeLMzToli6lDLUNDC4X2uCW/ECPyQCc8wCTfSPWltimzuuKZxqArxpfO2cUP8 ahMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=M9L7Pfk03qqNdvprSzo1Fg25PMqA6IAAN5+YlSYT5+8=; b=XOxuETrVLJ+xOgD2RPxplu0ozpgBzeslWKrc1jfob+WlZtENR7YD0xk1h6EQi+3529 04fx00CgnRSDDr0vLI3eOdlLxYnSwOWDm9mOds24c3+OUBeARQUoTUhMP/7nYMphQ9dJ xgErL3/T/kuBw81hnl7cXcsSKoWLrAyuLejCdt3dc/w72YIOALa1WwiosaEhHrc/F19I YR99LCzIaCqg2w2GCVk2uVhsmJhkLMGY2Y6zSGrcVaO9y/gS1XKGzvcccqgLsoEVIpUO 2jiH6GJQNPxh9PQ6uDipjVKtc9gAUiTf0Unpk5c4Yz5PCRBdsKj//pu2h4eLaNTQhvX9 7SnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si37962216pld.296.2018.05.31.16.12.24; Thu, 31 May 2018 16:12:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750794AbeEaXL5 (ORCPT + 99 others); Thu, 31 May 2018 19:11:57 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:53056 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbeEaXLy (ORCPT ); Thu, 31 May 2018 19:11:54 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fOWjY-0002i5-GZ; Thu, 31 May 2018 23:11:52 +0000 Date: Fri, 1 Jun 2018 00:11:52 +0100 From: Al Viro To: David Howells Cc: linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/32] VFS: Introduce the basic header for the new mount API's filesystem context [ver #8] Message-ID: <20180531231152.GL30522@ZenIV.linux.org.uk> References: <152720672288.9073.9868393448836301272.stgit@warthog.procyon.org.uk> <152720674345.9073.7664682296580266598.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <152720674345.9073.7664682296580266598.stgit@warthog.procyon.org.uk> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 25, 2018 at 01:05:43AM +0100, David Howells wrote: > + bool drop_sb:1; /* T if need to drop an SB reference */ IMO that should be simply fc->root != NULL - if you keep a dentry, you'd better make sure that its superblock has an active reference, so deactivate_super() is needed anyway.