From: Derrick Brashear Date: Fri, 13 Oct 2006 06:12:51 +0000 (+0000) Subject: DEVEL15-uae-translate-create-20061013 X-Git-Tag: openafs-devel-1_5_9~7 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=633c5e7021b0a7b77f8ce1a243293fc412dbbd4f;p=packages%2Fo%2Fopenafs.git DEVEL15-uae-translate-create-20061013 really the stubs should probably just translate the codes back. maybe for 1.6 (cherry picked from commit 0e8238e7cb90c022ec126c05987d8258197a413a) --- diff --git a/src/afs/VNOPS/afs_vnop_create.c b/src/afs/VNOPS/afs_vnop_create.c index 199797044..fbb33fc27 100644 --- a/src/afs/VNOPS/afs_vnop_create.c +++ b/src/afs/VNOPS/afs_vnop_create.c @@ -25,6 +25,7 @@ RCSID #include "afs/afs_cbqueue.h" #include "afs/nfsclient.h" #include "afs/afs_osidnlc.h" +#include "afs/unified_afs.h" /* question: does afs_create need to set CDirty in the adp or the avc? * I think we can get away without it, but I'm not sure. Note that @@ -305,7 +306,7 @@ afs_create(OSI_VC_DECL(adp), char *aname, struct vattr *attrs, (tc, code, &adp->fid, &treq, AFS_STATS_FS_RPCIDX_CREATEFILE, SHARED_LOCK, NULL)); - if (code == EEXIST && + if ((code == EEXIST || code == UAEEXIST) && #ifdef AFS_SGI64_ENV !(flags & VEXCL) #else /* AFS_SGI64_ENV */