diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-01-15 13:56:29 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-03 15:35:04 -0800 |
commit | df1d5d23d3a1a713c69b0f9ec67c59aeca3ce6b3 (patch) | |
tree | 2d5c3d7ba82c3f7010089414db2f0563ff6bd3e0 /lib/hweight.c | |
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>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions