]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-irix-prototype-fixage-20081216
authorDerrick Brashear <shadow@dementia.org>
Tue, 16 Dec 2008 21:49:04 +0000 (21:49 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 16 Dec 2008 21:49:04 +0000 (21:49 +0000)
LICENSE IPL10

more cleanup to make prototypes match functions on irix

(cherry picked from commit df90f5510a057d77a486a1b667f91ff63ad17fd2)

src/afs/IRIX/osi_vnodeops.c
src/afs/afs_prototypes.h

index c6a0b7f7dc5f08878bfdc41285ed257f334aaea6..32c975a19251152f0daa30f8dea57b6e73cd1c53 100644 (file)
@@ -679,7 +679,11 @@ afsrwvp(register struct vcache *avc, register struct uio *uio, enum uio_rw rw,
 #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)) {
index 9d560c96a08539c70801a7cee6c696b5f845f114..2b3cc5e08a4238278f91eea57007c1eef7e51916 100644 (file)
@@ -639,6 +639,10 @@ extern int afs_syscall_icreate(dev_t, long, long, long, long, long,
 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);