NFS: Fix a readdir/lookup inefficiency.
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 15 Jan 2007 18:56:29 +0000 (13:56 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Feb 2007 23:35:04 +0000 (15:35 -0800)
Make sure that nfs_readdir_lookup() handles negative dentries correctly.
If d_lookup() returns a negative dentry, then we need to d_drop() that
since readdir shows that it should be positive.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c

diff --cc fs/nfs/dir.c
Simple merge