#ifdef AFS_SGI61_ENV
if (((ioflag & IO_SYNC) || (ioflag & IO_DSYNC)) && (rw == UIO_WRITE)
&& !AFS_NFSXLATORREQ(cr)) {
- error = afs_fsync(avc, 0, cr);
+ error = afs_fsync(avc, 0, cr
+#ifdef AFS_SGI65_ENV
+ , 0, 0
+#endif
+ );
}
#else /* AFS_SGI61_ENV */
if ((ioflag & IO_SYNC) && (rw == UIO_WRITE) && !AFS_NFSXLATORREQ(cr)) {
extern int afs_syscall_iopen(dev_t, int, int, rval_t *, struct AFS_UCRED *);
extern int afs_syscall_iincdec(dev_t, int, int, int, rval_t *,
struct AFS_UCRED *);
+#elif defined(AFS_SGI65_ENV)
+extern int afs_syscall_icreate(afs_uint32, afs_uint32, afs_uint32, afs_uint32, afs_uint32, afs_uint32, rval_t *);
+extern int afs_syscall_iopen(int, ino_t, int, rval_t *);
+extern int afs_syscall_iincdec(int, int, int, int);
#elif defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
extern int afs_syscall_icreate(long, long, long, long, long, long, long*);
extern int afs_syscall_iopen(int dev, int inode, int usrmod, long *retval);