From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756694AbYLEPMe (ORCPT ); Fri, 5 Dec 2008 10:12:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753545AbYLEPM0 (ORCPT ); Fri, 5 Dec 2008 10:12:26 -0500 Received: from mx2.redhat.com ([66.187.237.31]:55602 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753506AbYLEPM0 (ORCPT ); Fri, 5 Dec 2008 10:12:26 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20081205133014.14725.79974.stgit@warthog.procyon.org.uk> To: Hugh Dickins Cc: dhowells@redhat.com, torvalds@osdl.org, akpm@linux-foundation.org, bfields@fieldses.org, hch@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] EXPORTFS: Don't return NULL from fh_to_dentry()/fh_to_parent() [ver #2] Date: Fri, 05 Dec 2008 15:12:15 +0000 Message-ID: <17271.1228489935@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hugh Dickins wrote: > I think it's still wrong in shmem_fh_to_dentry(): you've fixed > the early return, but there'd be another return NULL if !inode? Now that I've fixed that as well, what are the chances of d_find_alias() returning NULL, do you think? I suppose all that's required is for a file to be deleted locally while a remote client has a filehandle to it. David