more-irix65-fixes-for-no-libefs-20010207
authorHartmut Reuter <reuter@rzg.mpg.de>
Wed, 7 Feb 2001 15:04:53 +0000 (15:04 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 7 Feb 2001 15:04:53 +0000 (15:04 +0000)
Some minor stuff missed on the first pass.

src/afs/IRIX/osi_inode.c
src/afs/IRIX/osi_vnodeops.c

index b896c1a..08502f5 100644 (file)
@@ -331,6 +331,14 @@ rval_t *rvp;
        iput(newip);
        return 0;
 }
+#else /* !AFS_SGI_EFS_IOPS_ENV */
+int
+afs_syscall_icreate(dev, near_inode, param1, param2, param3, param4, rvp)
+afs_uint32 dev, near_inode, param1, param2, param3, param4;
+rval_t *rvp;
+{
+    return ENOSYS;
+}
 #endif /* AFS_SGI_EFS_IOPS_ENV */
 
 #ifdef AFS_SGI_XFS_IOPS_ENV
index a308e45..9d6b5ed 100644 (file)
@@ -1829,6 +1829,7 @@ void afs_InitDualFSCacheOps(struct vnode *vp)
     inited = 1;
 
 
+#ifdef AFS_SGI_EFS_IOPS_ENV
     swp = vfs_getvfssw("efs");
     if (swp) {
         afs_efs_vnodeopsp = swp->vsw_vnodeops;
@@ -1838,6 +1839,7 @@ void afs_InitDualFSCacheOps(struct vnode *vp)
            found = 1;
        }
     }
+#endif /* AFS_SGI_EFS_IOPS_ENV */
 
     swp = vfs_getvfssw("xfs");
     if (swp) {