summaryrefslogtreecommitdiffstats
path: root/share/colldef
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-03-10 18:41:06 +0000
committerjhb <jhb@FreeBSD.org>2009-03-10 18:41:06 +0000
commit62fc1c4fbf1ca9d69332386a54d6aa6beaee22a0 (patch)
treed4e2bd88f8987ed429705c4cd8579d6706baa72d /share/colldef
parentf0bf25503d9702e1e95bb364d811c1243d538b61 (diff)
downloadFreeBSD-src-62fc1c4fbf1ca9d69332386a54d6aa6beaee22a0.zip
FreeBSD-src-62fc1c4fbf1ca9d69332386a54d6aa6beaee22a0.tar.gz
- 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
Diffstat (limited to 'share/colldef')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud