diff --git a/src/afs/VNOPS/afs_vnop_readdir.c b/src/afs/VNOPS/afs_vnop_readdir.c index 320f04f591..d43b67c663 100644 --- a/src/afs/VNOPS/afs_vnop_readdir.c +++ b/src/afs/VNOPS/afs_vnop_readdir.c @@ -13,7 +13,6 @@ * Implements: * BlobScan * afs_readdir_move - * afs_bulkstat_send * afs_readdir/afs_readdir2(HP) * afs_readdir1 - HP NFS version * @@ -196,17 +195,6 @@ struct minnfs_direct { #endif /* !defined(UKERNEL) */ -/* - *------------------------------------------------------------------------------ - * - * Keep a stack of about 256 fids for the bulk stat call. - * Fill it during the readdir_move. Later empty it... - */ - -#define READDIR_STASH AFSCBMAX -struct AFSFid afs_readdir_stash[READDIR_STASH]; -int afs_rd_stash_i = 0; - /* *------------------------------------------------------------------------------ * @@ -553,12 +541,6 @@ afs_readdir_move(struct DirEntry *de, struct vcache *vc, struct uio *auio, * This routine encodes knowledge of Vice dirs. */ -void -afs_bulkstat_send(struct vcache *avc, struct vrequest *req) -{ - afs_rd_stash_i = 0; -} - /* * Here is the bad, bad, really bad news. * It has to do with 'offset' (seek locations). diff --git a/src/afs/afs_init.c b/src/afs/afs_init.c index 63d24cf8f2..0b8dd0e458 100644 --- a/src/afs/afs_init.c +++ b/src/afs/afs_init.c @@ -739,9 +739,6 @@ shutdown_vnodeops(void) { AFS_STATCNT(shutdown_vnodeops); if (afs_cold_shutdown) { -#ifndef AFS_LINUX_ENV - afs_rd_stash_i = 0; -#endif shutdown_mariner(); } } diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h index 1d89337169..db5cd4aa24 100644 --- a/src/afs/afs_prototypes.h +++ b/src/afs/afs_prototypes.h @@ -1260,7 +1260,6 @@ extern void afs_PrefetchChunk(struct vcache *avc, struct dcache *adc, /* VNOPS/afs_vnop_readdir.c */ -extern int afs_rd_stash_i; extern int BlobScan(struct dcache * afile, afs_int32 ablob, int *ablobOut); #if defined(AFS_SUN5_ENV) || defined(AFS_SGI_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV) extern int afs_readdir(OSI_VC_DECL(avc), struct uio *auio,