From a029c1c4cfc68a3a5ffb5279ae4da1c899e0af3f Mon Sep 17 00:00:00 2001 From: zab Date: Thu, 18 Mar 2004 01:11:30 +0000 Subject: [PATCH] - fix build warning and an almost certain run-time crash from swapped cerror arguments --- lustre/ptlrpc/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 74e5a35..374e46e 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -168,8 +168,8 @@ void ptlrpc_invalidate_import(struct obd_import *imp, int in_rpc) if (rc) CERROR("%s: rc = %d waiting for callback (%d != %d)\n", - atomic_read(&imp->imp_inflight), inflight, - imp->imp_target_uuid.uuid, rc); + imp->imp_target_uuid.uuid, rc, + atomic_read(&imp->imp_inflight), inflight); obd_import_event(imp->imp_obd, imp, IMP_EVENT_INVALIDATE); } -- 1.8.3.1