viced-rmdir-fid-leak-20080219
authorRainer Toebbicke <rtb@pclella.cern.ch>
Tue, 19 Feb 2008 14:29:42 +0000 (14:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 19 Feb 2008 14:29:42 +0000 (14:29 +0000)
LICENSE IPL10
FIXES 86786

src/viced/afsfileprocs.c

index 6b6f2cd..8c60b13 100644 (file)
@@ -1285,6 +1285,7 @@ DeleteTarget(Vnode * parentptr, Volume * volptr, Vnode ** targetptr,
        if (IsEmpty(&childdir) != 0)
            return (EEXIST);
        DZap(&childdir);
+       FidZap(&childdir);
        (*targetptr)->delete = 1;
     } else if ((--(*targetptr)->disk.linkCount) == 0)
        (*targetptr)->delete = 1;