From: Chas Williams Date: Mon, 16 Apr 2001 22:09:15 +0000 (+0000) Subject: linux-cleanup-after-check-bad-parent-20010416 X-Git-Tag: openafs-stable-1_1_0~201 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bb46079477b664c1eabfb423966f71220821d099;p=packages%2Fo%2Fopenafs.git 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 --- 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;