git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
315191f
)
linux-cleanup-after-check-bad-parent-20010416
author
Chas Williams
<chas@cmf.nrl.navy.mil>
Mon, 16 Apr 2001 22:09:15 +0000 (22:09 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 16 Apr 2001 22:09:15 +0000 (22:09 +0000)
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
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_misc.c
b/src/afs/LINUX/osi_misc.c
index
e40af34
..
d9b0515
100644
(file)
--- 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;