unlink-fix-20050721
authorChas Williams <chas@cmf.nrl.navy.mil>
Thu, 21 Jul 2005 17:30:50 +0000 (17:30 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 21 Jul 2005 17:30:50 +0000 (17:30 +0000)
fill in parent after processFS

src/afs/VNOPS/afs_vnop_create.c

index 4232f45..c8fa7fe 100644 (file)
@@ -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;