Remove CacheStoreProcs and CacheFetchProcs from the afs_cacheOps.
authorFelix Frank <ffrank@satyr4.ifh.de>
Thu, 2 Jul 2009 09:12:24 +0000 (11:12 +0200)
committerDerrick Brashear <shadow@dementia.org>
Wed, 12 Aug 2009 15:13:53 +0000 (08:13 -0700)
The entries are no longer used, as the macros from afs_chunkops.h
are no longer necessary and afs_StoreAllSegments calls the
CacheStoreProc proper.

Reviewed-on: http://gerrit.openafs.org/110
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/afs/afs_chunkops.h
src/afs/afs_dcache.c

index 4e117c0..cb5bc55 100644 (file)
@@ -63,16 +63,6 @@ struct afs_cacheOps {
                  int noLock);
     int (*vwrite) (register struct vcache * avc, struct uio * auio, int aio,
                   struct AFS_UCRED * acred, int noLock);
-    int (*FetchProc) (register struct rx_call * acall,
-                     struct osi_file * afile, afs_size_t abase,
-                     struct dcache * adc, struct vcache * avc,
-                     afs_size_t * abytesToXferP, afs_size_t * abytesXferredP,
-                     afs_int32 lengthFound);
-    int (*StoreProc) (register struct rx_call * acall,
-                     struct osi_file * afile, register afs_int32 alen,
-                     struct vcache * avc, int *shouldWake,
-                     afs_size_t * abytesToXferP,
-                     afs_size_t * abytesXferredP);
     struct dcache *(*GetDSlot) (register afs_int32 aslot,
                                register struct dcache * tmpdc);
     struct volume *(*GetVolSlot) (void);
index ece2d52..457da99 100644 (file)
@@ -107,8 +107,6 @@ struct afs_cacheOps afs_UfsCacheOps = {
     osi_UFSClose,
     afs_UFSRead,
     afs_UFSWrite,
-    afs_CacheFetchProc,
-    afs_CacheStoreProc,
     afs_UFSGetDSlot,
     afs_UFSGetVolSlot,
     afs_UFSHandleLink,
@@ -122,8 +120,6 @@ struct afs_cacheOps afs_MemCacheOps = {
     afs_MemCacheClose,
     afs_MemRead,
     afs_MemWrite,
-    afs_CacheFetchProc,
-    afs_CacheStoreProc,
     afs_MemGetDSlot,
     afs_MemGetVolSlot,
     afs_MemHandleLink,