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-6749 lod: properly remove proc entry
[fs/lustre-release.git]
/
lustre
/
lod
/
lproc_lod.c
diff --git
a/lustre/lod/lproc_lod.c
b/lustre/lod/lproc_lod.c
index
f9f84c0
..
112c5d2
100644
(file)
--- a/
lustre/lod/lproc_lod.c
+++ b/
lustre/lod/lproc_lod.c
@@
-839,8
+839,10
@@
void lod_procfs_fini(struct lod_device *lod)
{
struct obd_device *obd = lod2obd(lod);
- if (lod->lod_symlink != NULL)
+ if (lod->lod_symlink != NULL)
{
lprocfs_remove(&lod->lod_symlink);
+ lod->lod_symlink = NULL;
+ }
if (lod->lod_pool_proc_entry != NULL) {
lprocfs_remove(&lod->lod_pool_proc_entry);