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:
f25e55c
)
while sanity test60 uninitialized llog_cookie in llog_test_4() can invoke assertion...
author
tappro
<tappro>
Mon, 22 Aug 2005 11:21:59 +0000
(11:21 +0000)
committer
tappro
<tappro>
Mon, 22 Aug 2005 11:21:59 +0000
(11:21 +0000)
lustre/obdclass/llog_test.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/llog_test.c
b/lustre/obdclass/llog_test.c
index
f6d86a7
..
afbe973
100644
(file)
--- a/
lustre/obdclass/llog_test.c
+++ b/
lustre/obdclass/llog_test.c
@@
-231,13
+231,13
@@
static int llog_test_4(struct obd_device *obd)
char name[10];
int rc, i, buflen;
struct llog_mini_rec lmr;
- struct llog_cookie cookie;
+ struct llog_cookie cookie
={0}
;
struct llog_ctxt *ctxt;
int num_recs = 0;
char *buf;
struct llog_rec_hdr rec;
ENTRY;
-
+
ctxt = llog_get_context(&obd->obd_llogs, LLOG_TEST_ORIG_CTXT);
lmr.lmr_hdr.lrh_len = lmr.lmr_tail.lrt_len = LLOG_MIN_REC_SIZE;
lmr.lmr_hdr.lrh_type = 0xf00f00;