From 13b5f0110cfc40c63cef404dec4dba5994ebd953 Mon Sep 17 00:00:00 2001 From: niu Date: Fri, 12 Aug 2005 08:08:15 +0000 Subject: [PATCH] revert previous commit: only transfer one record once time --- lustre/smfs/audit_transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/smfs/audit_transfer.c b/lustre/smfs/audit_transfer.c index 5ae1c87..aeaa17f 100644 --- a/lustre/smfs/audit_transfer.c +++ b/lustre/smfs/audit_transfer.c @@ -221,7 +221,7 @@ static int transfer_cb(struct llog_handle *llh, struct llog_rec_hdr *rec, llog_cancel(llh->lgh_ctxt, 1, &cookie, 0, NULL); - RETURN(LLOG_PROC_BREAK); + RETURN(0); } static int audit_transfer(struct transfer_item *ti) @@ -231,7 +231,7 @@ static int audit_transfer(struct transfer_item *ti) ENTRY; rc = llog_cat_process(llh, (llog_cb_t)&transfer_cb, ti->id2name); - if (rc != LLOG_PROC_BREAK) + if (rc) CERROR("process catalog log failed: rc(%d)\n", rc); RETURN(0); -- 1.8.3.1