diff --git a/src/afs/FBSD/osi_vnodeops.c b/src/afs/FBSD/osi_vnodeops.c index 6b9532f292..12cacb0036 100644 --- a/src/afs/FBSD/osi_vnodeops.c +++ b/src/afs/FBSD/osi_vnodeops.c @@ -1467,7 +1467,7 @@ afs_vop_reclaim(struct vop_reclaim_args *ap) if (!haveVlock) ObtainWriteLock(&afs_xvcache, 901); /* reclaim the vnode and the in-memory vcache, but keep the on-disk vcache */ - code = afs_FlushVS(avc); + code = afs_FlushVCache(avc, &slept); if (!haveVlock) ReleaseWriteLock(&afs_xvcache); if (!haveGlock) diff --git a/src/afs/NBSD/osi_vnodeops.c b/src/afs/NBSD/osi_vnodeops.c index b48b1d7322..56c42a3272 100644 --- a/src/afs/NBSD/osi_vnodeops.c +++ b/src/afs/NBSD/osi_vnodeops.c @@ -114,8 +114,6 @@ NONINFRINGEMENT. #include "afs/nfsclient.h" #include "afs/afs_osidnlc.h" -extern int afs_FlushVS(struct vcache *tvc); - #define M_AFSNODE (M_TEMP-1) /* XXX */ int afs_nbsd_lookup(void *); @@ -959,7 +957,7 @@ afs_nbsd_reclaim(void *v) if (!haveVlock) ObtainWriteLock(&afs_xvcache, 901); /* reclaim the vnode and the in-memory vcache, but keep the on-disk vcache */ - code = afs_FlushVS(avc); + code = afs_FlushVCache(avc, &slept); if (!haveVlock) ReleaseWriteLock(&afs_xvcache); if (!haveGlock) diff --git a/src/afs/OBSD/osi_vnodeops.c b/src/afs/OBSD/osi_vnodeops.c index 9626d3d196..b45ba6cfb5 100644 --- a/src/afs/OBSD/osi_vnodeops.c +++ b/src/afs/OBSD/osi_vnodeops.c @@ -113,8 +113,6 @@ NONINFRINGEMENT. #include "afs/nfsclient.h" #include "afs/afs_osidnlc.h" -extern int afs_FlushVS(struct vcache *tvc); - #define M_AFSNODE (M_TEMP-1) /* XXX */ int afs_obsd_lookup(void *); @@ -907,7 +905,7 @@ afs_obsd_reclaim(void *v) if (!haveVlock) ObtainWriteLock(&afs_xvcache, 901); /* reclaim the vnode and the in-memory vcache, but keep the on-disk vcache */ - code = afs_FlushVS(avc); + code = afs_FlushVCache(avc, &slept); if (!haveVlock) ReleaseWriteLock(&afs_xvcache); if (!haveGlock)