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

From: David Howells
Date: Fri Aug 18 2006 - 05:19:29 EST

Ian Kent <raven@xxxxxxxxxx> 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

[*] 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at