From 7e8ad209f77801bf3a883e6b49ae16f4414bcc40 Mon Sep 17 00:00:00 2001 From: braam Date: Mon, 8 Sep 2003 18:31:12 +0000 Subject: [PATCH] - unify llog_open and llog_create --- lustre/obdclass/llog_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c index 8bbd3f3..88ca52c 100644 --- a/lustre/obdclass/llog_test.c +++ b/lustre/obdclass/llog_test.c @@ -45,7 +45,7 @@ static int llog_test_1(struct obd_device *obd) CERROR("1a: create a log with a name\n"); sprintf(name, "%x", llog_test_rand); - rc = llog_create(obd, &llh, name); + rc = llog_create(obd, &llh, NULL, name); if (rc) { CERROR("1a: llog_create with name %s failed: %d\n", name, rc); RETURN(rc); @@ -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 = llog_open(obd, llh, NULL, name); + rc = llog_create(obd, llh, NULL, name); if (rc) CERROR("2: re-open log with name %s failed: %d\n", name, rc); -- 1.8.3.1