From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: What should dcache routines should be called at the end of mkdir? Date: Wed, 18 Apr 2007 22:00:01 +0100 Message-ID: <7626.1176930001@redhat.com> References: <4432.1176914169@redhat.com> Cc: viro@zeniv.linux.org.uk, trond.myklebust@fys.uio.no, linux-fsdevel@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from mx1.redhat.com ([66.187.233.31]:42125 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992617AbXDRVAR (ORCPT ); Wed, 18 Apr 2007 17:00:17 -0400 In-Reply-To: <4432.1176914169@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org David Howells wrote: > In this case, afs_lookup() is called extraneously... But it does seem to > work. It does help, of course, if I hash the negative dentry in afs_lookup() in addition to d_instantiate()'ing it. In fact, d_add() is what I should've been doing. Now it works. David