]> Pileus Git - ~andy/linux/commit
nfs: set verifier on existing dentries in nfs_prime_dcache
authorJeff Layton <jlayton@redhat.com>
Thu, 4 Jul 2013 10:35:23 +0000 (06:35 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Jul 2013 21:16:39 +0000 (17:16 -0400)
commitcda57a1ef6f0da7e24f392ffdf00538ec0480310
treec41fa16fad73618d4aaf2206530279a02ffab7ef
parenta82a729f04232ccd0b59406574ba4cf20027a49d
nfs: set verifier on existing dentries in nfs_prime_dcache

nfs_prime_dcache currently only sets the verifier when it doesn't
initially a matching dentry in the dcache. Set the verifier in the case
where we do find a dentry in the dcache. This ensures that we don't
have to look up the dentry again if we want to use it after a readdir.

Cc: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c