Whamcloud - gitweb
- a reworking of the llog api's that propagate cookies and records
authorbraam <braam>
Thu, 9 Oct 2003 09:08:03 +0000 (09:08 +0000)
committerbraam <braam>
Thu, 9 Oct 2003 09:08:03 +0000 (09:08 +0000)
  through the obd stack. See section 1.4 in the llogapi.lyx file for
  details.

lustre/obdclass/llog_test.c

index 06a4ac0..752459e 100644 (file)
@@ -131,7 +131,7 @@ static int llog_test_3(struct obd_device *obd, struct llog_handle *llh)
         ENTRY;
 
         lcr.lcr_hdr.lrh_len = lcr.lcr_tail.lrt_len = sizeof(lcr);
-        lcr.lcr_hdr.lrh_type = OST_CREATE_REC;
+        lcr.lcr_hdr.lrh_type = OST_SZ_REC;
 
         CERROR("3a: write one create_rec\n");
         rc = llog_write_rec(llh,  &lcr.lcr_hdr, NULL, 0, NULL, -1);