From: Derrick Brashear Date: Wed, 17 Aug 2005 20:27:03 +0000 (+0000) Subject: STABLE14-irix-gop-lookupname-20050817 X-Git-Tag: openafs-stable-1_4_0-rc1~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4e398e1d1a03ec239110c1d4c460b69a0d80f561;p=packages%2Fo%2Fopenafs.git STABLE14-irix-gop-lookupname-20050817 irix of course won't build when your function doesn't match the prototype (cherry picked from commit 1bc0250ec0793ee28d4cbec3fb5b929d541aa95c) --- diff --git a/src/afs/IRIX/osi_inode.c b/src/afs/IRIX/osi_inode.c index 523b4d73f..62f9825ed 100644 --- a/src/afs/IRIX/osi_inode.c +++ b/src/afs/IRIX/osi_inode.c @@ -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();