Whamcloud - gitweb
- fix build warning and an almost certain run-time crash from swapped cerror
authorzab <zab>
Thu, 18 Mar 2004 01:11:30 +0000 (01:11 +0000)
committerzab <zab>
Thu, 18 Mar 2004 01:11:30 +0000 (01:11 +0000)
  arguments

lustre/ptlrpc/import.c

index 74e5a35..374e46e 100644 (file)
@@ -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);
 }