[OpenAFS-devel] unlink, .__afsXXXX not removed
Hans-Werner Paulsen
hans@MPA-Garching.MPG.DE
Thu, 21 Jul 2005 09:13:11 +0200
On Wed, Jul 20, 2005 at 01:28:52PM -0400, chas.williams@cmf.nrl.navy.mil wrote:
> thanks -- try the following patch:
>
> Index: src/afs/VNOPS/afs_vnop_create.c
> ===================================================================
> RCS file: /cvs/openafs/src/afs/VNOPS/afs_vnop_create.c,v
> retrieving revision 1.20
> diff -u -u -r1.20 afs_vnop_create.c
> --- src/afs/VNOPS/afs_vnop_create.c 24 Dec 2004 06:08:22 -0000 1.20
> +++ src/afs/VNOPS/afs_vnop_create.c 20 Jul 2005 17:28:16 -0000
> @@ -414,6 +414,8 @@
> }
> 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;
Yes! This patch does solve the problem.
Thank you!
Hans-Werner
--
Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
MPI für Astrophysik Tel 089-30000-2602
Karl-Schwarzschild-Str. 1 Fax 089-30000-2235
D-85741 Garching