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:
98fd936
)
Branch b1_6
author
wangdi
<wangdi>
Sun, 4 Nov 2007 14:53:09 +0000
(14:53 +0000)
committer
wangdi
<wangdi>
Sun, 4 Nov 2007 14:53:09 +0000
(14:53 +0000)
b=13913
clear obd_llog_ctxt when free llog_ctxt.
i=shadow,green
lustre/obdclass/llog_obd.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/llog_obd.c
b/lustre/obdclass/llog_obd.c
index
382b1f1
..
00e208b
100644
(file)
--- a/
lustre/obdclass/llog_obd.c
+++ b/
lustre/obdclass/llog_obd.c
@@
-150,8
+150,10
@@
int llog_setup(struct obd_device *obd, int index, struct obd_device *disk_obd,
if (op->lop_setup)
rc = op->lop_setup(obd, index, disk_obd, count, logid);
- if (rc)
+ if (rc)
{
llog_ctxt_destroy(ctxt);
+ obd->obd_llog_ctxt[index] = NULL;
+ }
out:
RETURN(rc);
}