Re: [PATCH] NFS: Replace null dentries that appear in readdir's list

David Howells
2006-08-18T09:22:00Z

Ian Kent <raven@themaw.net> wrote:

> Don't we need to return something like NULL here also?

Shouldn't do. It should be reasonable to just continue into the rest of the
function - after all, after calling d_drop() we don't have a dentry any
more[*]...

[*] Lack of a dput() not withstanding.

I'm wondering if I actually need to discard the negative dentry I already have
since I then proceed to allocate a new one.

David