From: niu Date: Wed, 29 Oct 2003 02:28:00 +0000 (+0000) Subject: b: 1990 X-Git-Tag: v1_7_0_51~2^9~214 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=43c1878bf755d1b4f96dfe242c3bd48693452a6f;p=fs%2Flustre-release.git b: 1990 r: Andreas Padding record header to 64 bits size. --- diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c index d945072..00c74e8 100644 --- a/lustre/obdclass/llog_test.c +++ b/lustre/obdclass/llog_test.c @@ -172,11 +172,11 @@ static int llog_test_3(struct obd_device *obd, struct llog_handle *llh) if ((rc = verify_handle("3a", llh, num_recs))) RETURN(rc); - CERROR("3b: write 10 cfg log records with 12 byte bufs\n"); + CERROR("3b: write 10 cfg log records with 8 bytes bufs\n"); for (i = 0; i < 10; i++) { struct llog_rec_hdr hdr; - char buf[12]; - hdr.lrh_len = cpu_to_le32(12); + char buf[8]; + hdr.lrh_len = cpu_to_le32(8); hdr.lrh_type = cpu_to_le32(OBD_CFG_REC); memset(buf, 0, sizeof buf); rc = llog_write_rec(llh, &hdr, NULL, 0, buf, -1);