Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=17447
[fs/lustre-release.git]
/
lustre
/
obdclass
/
class_hash.c
diff --git
a/lustre/obdclass/class_hash.c
b/lustre/obdclass/class_hash.c
index
55b41df
..
0dd18f1
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;
int i;
ENTRY;
- if (!lh)
- return;
+ LASSERT(lh != NULL);
write_lock(&lh->lh_rwlock);
write_lock(&lh->lh_rwlock);