]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cache: tidy up handling of foo/bar lookups where foo is not a directory
authorMateusz Guzik <mjg@FreeBSD.org>
Tue, 26 Jan 2021 16:19:12 +0000 (17:19 +0100)
committerMateusz Guzik <mjg@FreeBSD.org>
Tue, 26 Jan 2021 20:42:53 +0000 (20:42 +0000)
commita098a831a162fcd55b0097c95e6840621d8c720a
tree015d2e375a3cfc671f471cc4e223f8981a9bde90
parenta51eca7936db50a57d2324d945c3be715df749cd
cache: tidy up handling of foo/bar lookups where foo is not a directory

The code was performing an avoidable check for doomed state to account
for foo being a VDIR but turning VBAD. Now that dooming puts a vnode
in a permanent "modify" state this is no longer necessary as the final
status check will catch it.
sys/kern/vfs_cache.c