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:
8de0675
)
* Fixed bug with unitilized data in plni
author
pjkirner
<pjkirner>
Wed, 5 Oct 2005 20:48:13 +0000
(20:48 +0000)
committer
pjkirner
<pjkirner>
Wed, 5 Oct 2005 20:48:13 +0000
(20:48 +0000)
lnet/ulnds/ptllnd/ptllnd.c
patch
|
blob
|
history
diff --git
a/lnet/ulnds/ptllnd/ptllnd.c
b/lnet/ulnds/ptllnd/ptllnd.c
index
76de220
..
8733c2b
100644
(file)
--- a/
lnet/ulnds/ptllnd/ptllnd.c
+++ b/
lnet/ulnds/ptllnd/ptllnd.c
@@
-338,6
+338,13
@@
ptllnd_startup (lnet_ni_t *ni)
plni->plni_ntxs = 0;
CFS_INIT_LIST_HEAD(&plni->plni_active_txs);
CFS_INIT_LIST_HEAD(&plni->plni_zombie_txs);
+
+ /*
+ * Initilize buffer related data structures
+ */
+ CFS_INIT_LIST_HEAD(&plni->plni_buffers);
+ plni->plni_nbuffers = 0;
+ plni->plni_nposted_buffers = 0;
rc = ptllnd_get_tunables(ni);
if (rc != 0)