From aea2adc734354b2aada6bf417e577a930d0639a0 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 8 Sep 2003 07:51:03 +0000 Subject: [PATCH] - steal from the reserved bits instead of the bitmap bits, another piece of sage Andreas advice - add an llh_flags field to the header - rename confusing lgh_index to lgh_last_idx - if the log is marked ZAP_WHEN_EMPTY, the log is full, and all of the records are cancelled, call llog_destroy from llog_cancel_rec - extend llog_open to also support reopen-by-name - add llog_vfs_read_blob and llog_vfs_read_header - removed a bunch of unnecessary EXPORT_SYMBOLs - add llog_lvfs_open() --- lustre/obdclass/llog_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c index 9dc5cfa..1fdff01 100644 --- a/lustre/obdclass/llog_test.c +++ b/lustre/obdclass/llog_test.c @@ -67,7 +67,7 @@ static int llog_test_2(struct obd_device *obd, struct llog_handle **llh) CERROR("2: re-open a log with a name\n"); sprintf(name, "%x", llog_test_rand); - rc = 0;//llog_open(obd, llh, name); + rc = llog_open(obd, llh, NULL, name); if (rc) CERROR("2: re-open log with name %s failed: %d\n", name, rc); -- 1.8.3.1