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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
obdclass
/
class_hash.c
diff --git
a/lustre/obdclass/class_hash.c
b/lustre/obdclass/class_hash.c
index
99998a8
..
6940f0d
100644
(file)
--- a/
lustre/obdclass/class_hash.c
+++ b/
lustre/obdclass/class_hash.c
@@
-147,10
+147,10
@@
lustre_hash_exit(lustre_hash_t *lh)
write_unlock(&lhb->lhb_rwlock);
}
write_unlock(&lhb->lhb_rwlock);
}
- OBD_VFREE(lh->lh_buckets, sizeof(*lh->lh_buckets) << lh->lh_cur_bits);
LASSERT(atomic_read(&lh->lh_count) == 0);
write_unlock(&lh->lh_rwlock);
LASSERT(atomic_read(&lh->lh_count) == 0);
write_unlock(&lh->lh_rwlock);
+ OBD_VFREE(lh->lh_buckets, sizeof(*lh->lh_buckets) << lh->lh_cur_bits);
OBD_FREE_PTR(lh);
EXIT;
}
OBD_FREE_PTR(lh);
EXIT;
}