I did not write any code to call lookup_one_len(). I just mounted an ecryptfs on nfs, and then got the oops. So it should be a problem in nfs or ecryptfs or both. At least it should not crash. Peng On Fri, May 13, 2011 at 6:32 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > On Wed, May 11, 2011 at 05:03:25PM -0400, Peng Huang wrote: >> lookup_one_len() may call nfs_loopup_revalidate() with nd == NULL >> indirectly, that causes the kernel crash. > > lookup_one_len must only be called by a filesystem or a library function > called by the filesystem. ÂYou are not allowed to call it on a random > filesystem like nfs that doesn't support the underlying assumptions. > > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html