Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a4fb0
)
b=17447
author
yury
<yury>
Thu, 23 Oct 2008 11:00:29 +0000
(11:00 +0000)
committer
yury
<yury>
Thu, 23 Oct 2008 11:00:29 +0000
(11:00 +0000)
r=adilger,deen
- fixes existing and possible memory leaks;
- cleanups.
lustre/obdclass/class_hash.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/class_hash.c
b/lustre/obdclass/class_hash.c
index
d3eb668
..
690122e
100644
(file)
--- a/
lustre/obdclass/class_hash.c
+++ b/
lustre/obdclass/class_hash.c
@@
-128,8
+128,7
@@
lustre_hash_exit(lustre_hash_t *lh)
int i;
ENTRY;
- if (!lh)
- return;
+ LASSERT(lh != NULL);
write_lock(&lh->lh_rwlock);