From bb46079477b664c1eabfb423966f71220821d099 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Mon, 16 Apr 2001 22:09:15 +0000 Subject: [PATCH] linux-cleanup-after-check-bad-parent-20010416 check_bad_parent doing lookups is incrementing i_count and nothing is cleaning up after it; this should make it happier --- src/afs/LINUX/osi_misc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_misc.c b/src/afs/LINUX/osi_misc.c index e40af34af..d9b05158f 100644 --- a/src/afs/LINUX/osi_misc.c +++ b/src/afs/LINUX/osi_misc.c @@ -411,7 +411,9 @@ void check_bad_parent(struct dentry *dp) ICL_TYPE_POINTER, avc, ICL_TYPE_POINTER, dp); } - + if (avc) + AFS_RELE(avc); + crfree(credp); } /* if bad parent */ return; -- 2.39.5