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>
(cherry picked from commit
3f7b70a28ba7dc03f0fc973343669f0a7967de4c)
Reviewed-on: http://gerrit.openafs.org/2676
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)
#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 *);
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)
#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 *);
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)