mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
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:
parent
04d0b3e2c6
commit
3f7b70a28b
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user