BSD CMs: Don't call nonexistent afs_FlushVS in afs_vop_reclaim

Revert BSDs to call FlushVCache in their respective reclaim vops,
afs_FlushVS no longer exists.

FIXES 127955

Change-Id: I842356c2d6ee4fa3a49eaa8594f1b52188c24985
Reviewed-on: http://gerrit.openafs.org/2611
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Matt Benjamin 2010-08-24 20:48:24 -04:00 committed by Derrick Brashear
parent 04d0b3e2c6
commit 3f7b70a28b
3 changed files with 3 additions and 7 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)