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:
2488560
)
mdd: initialize mdd->mdd_txn_cb.dtc_linkage to avoid crash in error handling path...
author
nikita
<nikita>
Thu, 2 Nov 2006 21:43:46 +0000
(21:43 +0000)
committer
nikita
<nikita>
Thu, 2 Nov 2006 21:43:46 +0000
(21:43 +0000)
lustre/mdd/mdd_device.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_device.c
b/lustre/mdd/mdd_device.c
index
7f7b6d6
..
06f9f79
100644
(file)
--- a/
lustre/mdd/mdd_device.c
+++ b/
lustre/mdd/mdd_device.c
@@
-63,6
+63,7
@@
static int mdd_device_init(const struct lu_env *env, struct lu_device *d,
mdd->mdd_txn_cb.dtc_txn_stop = mdd_txn_stop_cb;
mdd->mdd_txn_cb.dtc_txn_commit = mdd_txn_commit_cb;
mdd->mdd_txn_cb.dtc_cookie = mdd;
+ INIT_LIST_HEAD(&mdd->mdd_txn_cb.dtc_linkage);
rc = mdd_procfs_init(mdd, name);
RETURN(rc);
}