commit | df1d5d23d3a1a713c69b0f9ec67c59aeca3ce6b3 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Jan 15 13:56:29 2007 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Feb 03 15:35:04 2007 -0800 |
tree | 2d5c3d7ba82c3f7010089414db2f0563ff6bd3e0 | |
parent | ccfeb506231348a3c60ab0fdb5753a574653e3c0 [diff] |
NFS: Fix a readdir/lookup inefficiency. 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>