#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 *);
int code;
AFS_GLOCK();
- code = afs_close(VTOAFS(ap->a_vp), ap->a_fflag, ap->a_cred, ap->a_p);
+ code = afs_close(VTOAFS(ap->a_vp), ap->a_fflag, ap->a_cred);
AFS_GUNLOCK();
return code;
}
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)