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
LU-8066 obd: collect all resource releasing for obj_type.
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_dev.c
diff --git
a/lustre/lod/lod_dev.c
b/lustre/lod/lod_dev.c
index
dc26c29
..
a1d07ad
100644
(file)
--- a/
lustre/lod/lod_dev.c
+++ b/
lustre/lod/lod_dev.c
@@
-2254,10
+2254,9
@@
static int __init lod_init(void)
static void __exit lod_exit(void)
{
- if (!IS_ERR_OR_NULL(sym)) {
- ldebugfs_remove(&sym->typ_debugfs_entry);
+ if (!IS_ERR_OR_NULL(sym))
kobject_put(&sym->typ_kobj);
- }
+
class_unregister_type(LUSTRE_LOD_NAME);
lu_kmem_fini(lod_caches);
}