From: Chas Williams Date: Thu, 21 Jul 2005 17:31:34 +0000 (+0000) Subject: STABLE14-unlink-fix-20050721 X-Git-Tag: openafs-devel-1_3_86~17 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7ea06a4e711c0825e1f4ba3e87bb2d9514eeed0e;p=packages%2Fo%2Fopenafs.git STABLE14-unlink-fix-20050721 fill in parent after processFS (cherry picked from commit 724b6e639afee800663cb6ce9dbb9717cdca2b70) --- diff --git a/src/afs/VNOPS/afs_vnop_create.c b/src/afs/VNOPS/afs_vnop_create.c index 4232f4512..c8fa7fe7c 100644 --- a/src/afs/VNOPS/afs_vnop_create.c +++ b/src/afs/VNOPS/afs_vnop_create.c @@ -414,6 +414,8 @@ afs_create(OSI_VC_DECL(adp), char *aname, struct vattr *attrs, } ReleaseWriteLock(&afs_xcbhash); afs_ProcessFS(tvc, &OutFidStatus, &treq); + tvc->parentVnode = adp->fid.Fid.Vnode; + tvc->parentUnique = adp->fid.Fid.Unique; ReleaseWriteLock(&tvc->lock); *avcp = tvc; code = 0;