From: yury Date: Thu, 23 Oct 2008 11:00:29 +0000 (+0000) Subject: b=17447 X-Git-Tag: v1_7_130~1^110 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b660463545623e26a5dab2e450cdd8c544d57786;p=fs%2Flustre-release.git b=17447 r=adilger,deen - fixes existing and possible memory leaks; - cleanups. --- diff --git a/lustre/obdclass/class_hash.c b/lustre/obdclass/class_hash.c index d3eb668..690122e 100644 --- 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);