Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdba9e
)
- destroy lmv_obj cache in error case in lmv module init function.
author
yury
<yury>
Sun, 14 Nov 2004 11:38:01 +0000
(11:38 +0000)
committer
yury
<yury>
Sun, 14 Nov 2004 11:38:01 +0000
(11:38 +0000)
lustre/llite/llite_lib.c
patch
|
blob
|
history
lustre/lmv/lmv_obd.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
80f368e
..
fd5686c
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-1390,7
+1390,7
@@
void ll_put_inode(struct inode *inode)
rc = md_put_inode(sbi->ll_lmv_exp, &id);
if (rc) {
- C
DEBUG
("md_put_inode() failed, error %d\n",
+ C
ERROR
("md_put_inode() failed, error %d\n",
rc);
}
}
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
f5262a9
..
d41ad34
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-1959,6
+1959,9
@@
int __init lmv_init(void)
rc = class_register_type(&lmv_obd_ops, &lmv_md_ops,
lvars.module_vars,
OBD_LMV_DEVICENAME);
+ if (rc)
+ kmem_cache_destroy(obj_cache);
+
return rc;
}