From ff898e565f5d5b50844b983fc88428748237083a Mon Sep 17 00:00:00 2001 From: Hartmut Reuter Date: Tue, 6 Mar 2001 21:13:58 +0000 Subject: [PATCH] STABLE10-more-irix65-fixes-for-no-libefs-20010207 (cherry picked from commit 3dd6590174b9c827e151dc64a9c2fcdcb5403d29) --- src/afs/IRIX/osi_inode.c | 8 ++++++++ src/afs/IRIX/osi_vnodeops.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/afs/IRIX/osi_inode.c b/src/afs/IRIX/osi_inode.c index b896c1a85..08502f5a9 100644 --- a/src/afs/IRIX/osi_inode.c +++ b/src/afs/IRIX/osi_inode.c @@ -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 diff --git a/src/afs/IRIX/osi_vnodeops.c b/src/afs/IRIX/osi_vnodeops.c index a308e4523..9d6b5edc5 100644 --- a/src/afs/IRIX/osi_vnodeops.c +++ b/src/afs/IRIX/osi_vnodeops.c @@ -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) { -- 2.39.5