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=22056 hash_add not under spinlock.
[fs/lustre-release.git]
/
lustre
/
obdclass
/
cl_object.c
diff --git
a/lustre/obdclass/cl_object.c
b/lustre/obdclass/cl_object.c
index
1971baa
..
f8ef9f7
100644
(file)
--- a/
lustre/obdclass/cl_object.c
+++ b/
lustre/obdclass/cl_object.c
@@
-1155,7
+1155,7
@@
int cl_global_init(void)
}
}
if (result)
- cfs_hash_
destroy
(cl_env_hash);
+ cfs_hash_
putref
(cl_env_hash);
return result;
}
@@
-1168,5
+1168,5
@@
void cl_global_fini(void)
cl_page_fini();
lu_context_key_degister(&cl_key);
lu_kmem_fini(cl_object_caches);
- cfs_hash_
destroy
(cl_env_hash);
+ cfs_hash_
putref
(cl_env_hash);
}