From: Rainer Toebbicke Date: Tue, 19 Feb 2008 14:33:44 +0000 (+0000) Subject: STABLE14-viced-rmdir-fid-leak-20080219 X-Git-Tag: openafs-stable-1_4_7pre1~31 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=95e00bb8b3657af6df3a22653df068bcbb6f9747;p=packages%2Fo%2Fopenafs.git STABLE14-viced-rmdir-fid-leak-20080219 LICENSE IPL10 FIXES 86786 (cherry picked from commit 19b829d21934d60ab0b1af3ef0c7eefb2cce17b6) --- diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index 9460664a5..68a6bdd78 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -1320,6 +1320,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;