From a12539922190b23547a243eb0374515d2d9a0b17 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 13 Oct 2006 06:15:58 +0000 Subject: [PATCH] STABLE14-uae-translate-create-20061013 really the stubs should probably just translate the codes back. maybe for 1.6 (cherry picked from commit 0e8238e7cb90c022ec126c05987d8258197a413a) --- src/afs/VNOPS/afs_vnop_create.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.5