afs: Remove bulk stat dead code

Since the original IBM code import, the Unix cache manager has contained a few
fragments of apparently vestigial code related to processing directories via
RXAFS_BulkStatus.

Remove the unused code.

No functional change is incurred by this commit.

Change-Id: I60998b304c333ec177c1d88e5bea2e5beacabec3
Reviewed-on: https://gerrit.openafs.org/15398
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
Mark Vitale 2023-04-17 18:28:25 -04:00 committed by Michael Meffie
parent 4392020ba0
commit 052f274c3c
3 changed files with 0 additions and 22 deletions

View File

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

View File

@ -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();
}
}

View File

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