Whamcloud - gitweb
b=21815 lustre_hash_rehash_key() should use lh_read_unlock()
authorJohann Lombardi <johann@sun.com>
Wed, 27 Jan 2010 14:39:49 +0000 (15:39 +0100)
committerJohann Lombardi <johann@sun.com>
Wed, 27 Jan 2010 14:39:49 +0000 (15:39 +0100)
commite27913bf15c5a9f3cd8ec29d75ef393219962a66
tree9c3bd3261a20570941e36d1a8d31c23baed11c20
parent9b29d4543b0a589f5866aaf1ab753be91c4edd8d
b=21815 lustre_hash_rehash_key() should use lh_read_unlock()

lh_read_lock() is no-op if rehash is disabled, so we should
use lh_read_unlock() in this function.
This should not have any consequence, but better to fix it.
lustre/obdclass/class_hash.c