Re: [PATCH] EXPORTFS: Don't return NULL from fh_to_dentry()/fh_to_parent() [ver #2]

From: David Howells
Date: Fri Dec 05 2008 - 10:12:34 EST


Hugh Dickins <hugh@xxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/