irix kill efs and start pruning pre-65
[openafs.git] / src / afs / IRIX / osi_vnodeops.c
index 7949115..987cfc9 100644 (file)
@@ -1886,51 +1886,15 @@ struct vnodeops *afs_ops = &Afs_vnodeops;
 #endif /* MP */
 
 
-#if defined(AFS_SGI62_ENV) && defined(AFS_SGI_DUAL_FS_CACHE)
-/* Support for EFS and XFS caches. The assumption here is that the size of
+/* Support for XFS caches. The assumption here is that the size of
  * a cache file also does not exceed 32 bits. 
  */
 
 /* Initialized in osi_InitCacheFSType(). Used to determine inode type. */
-int afs_CacheFSType = -1;
-vnodeops_t *afs_efs_vnodeopsp;
 vnodeops_t *afs_xfs_vnodeopsp;
-vnode_t *(*afs_IGetVnode) (ino_t);
-
-extern vnode_t *afs_EFSIGetVnode(ino_t);       /* defined in osi_file.c */
-extern vnode_t *afs_XFSIGetVnode(ino_t);       /* defined in osi_file.c */
 
 extern afs_lock_t afs_xosi;    /* lock is for tvattr */
 
-/* Initialize the cache operations. Called while initializing cache files. */
-void
-afs_InitDualFSCacheOps(struct vnode *vp)
-{
-    static int inited = 0;
-    struct vfssw *swp;
-    int found = 0;
-
-    if (inited)
-       return;
-    inited = 1;
-
-    swp = vfs_getvfssw("xfs");
-    if (swp) {
-       afs_xfs_vnodeopsp = swp->vsw_vnodeops;
-       if (!found) {
-           if (vp && vp->v_op == afs_xfs_vnodeopsp) {
-               afs_CacheFSType = AFS_SGI_XFS_CACHE;
-               afs_IGetVnode = afs_XFSIGetVnode;
-               found = 1;
-           }
-       }
-    }
-
-    if (vp && !found)
-       osi_Panic("osi_InitCacheFSType: Can't find fstype for vnode 0x%llx\n",
-                 vp);
-}
-
 ino_t
 VnodeToIno(vnode_t * vp)
 {
@@ -1984,5 +1948,4 @@ VnodeToSize(vnode_t * vp)
     ReleaseWriteLock(&afs_xosi);
     return vattr.va_size;
 }
-#endif /* 6.2 and dual fs cache */
 #endif /* AFS_SGI62_ENV */