FBSD: Do not vgone() in osi_VM_FlushVCache
authorAndrew Deason <adeason@sinenomine.net>
Sun, 20 May 2012 22:16:37 +0000 (17:16 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 1 Dec 2014 21:06:38 +0000 (16:06 -0500)
commitb656710d30e6227c5bab75805ef422d237359f46
tree5b1ad54c270d8e577d47a257057e0e2b09e52f93
parent0315bb393fa9429361e27478832e8a4ed68182d4
FBSD: Do not vgone() in osi_VM_FlushVCache

osi_VM_FlushVCache just needs to remove VM references to the given
vcache; calling vgone() entirely should be unnecessary. Remove the
call to vgone() and other osi_TryEvictVCache-ish stuff, and just try
to cache_purge the vnode, like the other BSD implementations do.

Change-Id: I71d71f137c04d9ef3625f6a8ae22f0ffb90b9637
Reviewed-on: http://gerrit.openafs.org/7433
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/FBSD/osi_vm.c