mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
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:
parent
4392020ba0
commit
052f274c3c
@ -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).
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user