Date: Tue, 10 Mar 2009 18:41:06 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/nfsclient nfs_vnops.c Message-ID: <200903101841.n2AIfBwS063879@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-03-10 18:41:06 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_vnops.c
Log:
SVN rev 189639 on 2009-03-10 18:41:06Z by jhb
- Remove code to set SAVENAME for CREATE or RENAME requests that get a -ve
hit in the name cache. cache_lookup() doesn't actually return ENOENT
for such requests to force the filesystem to do an explicit lookup, so
this was effectively dead code.
- Grab the nfsnode mutex while writing to n_dmtime. We don't grab the lock
when comparing the time against the cached directory mod time (just as
we don't when comparing ctime's for +ve name cache hits) since the
attribute caching is already racy for NFS clients as it is.
Discussed with: bde
Revision Changes Path
1.302 +4 -4 src/sys/nfsclient/nfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903101841.n2AIfBwS063879>
