From 4e398e1d1a03ec239110c1d4c460b69a0d80f561 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 17 Aug 2005 20:27:03 +0000 Subject: [PATCH] STABLE14-irix-gop-lookupname-20050817 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5