]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-irix-gop-lookupname-20050817
authorDerrick Brashear <shadow@dementia.org>
Wed, 17 Aug 2005 20:27:03 +0000 (20:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 17 Aug 2005 20:27:03 +0000 (20:27 +0000)
irix of course won't build when your function doesn't match the prototype

(cherry picked from commit 1bc0250ec0793ee28d4cbec3fb5b929d541aa95c)

src/afs/IRIX/osi_inode.c

index 523b4d73f5dcf16aeaacdddfe350adc4ab34987b..62f9825ed2c336caef60f718fc201825b56ec93a 100644 (file)
@@ -438,7 +438,7 @@ xfs_icreatename64(struct vfs *vfsp, int datap, int datalen,
        AFS_COPYINSTR((char *)datap, name, AFS_PNAME_SIZE - 1, &junk, unused);
        strcat(name, "/.");
        strcat(name, int_to_base64(stmp1, rw_vno));
-       code = gop_lookupname(name, AFS_UIOSYS, FOLLOW, NULL, &dvp);
+       code = gop_lookupname(name, AFS_UIOSYS, FOLLOW, &dvp);
        if (!code) {
            /* Use old name format. */
            strcpy(path, name);
@@ -456,7 +456,7 @@ xfs_icreatename64(struct vfs *vfsp, int datap, int datalen,
        if (code) {
            if (code == EEXIST) {
                /* someone beat us to it? */
-               code = gop_lookupname(path, AFS_UIOSYS, 0, NULL, &dvp);
+               code = gop_lookupname(path, AFS_UIOSYS, NO_FOLLOW, &dvp);
            }
            if (code) {
                AFS_UNLOCK_VOL_CREATE();