Whamcloud - gitweb
- temporary change to see request debug instead of assert. This is to 11012
authortappro <tappro>
Sat, 7 Oct 2006 08:50:58 +0000 (08:50 +0000)
committertappro <tappro>
Sat, 7 Oct 2006 08:50:58 +0000 (08:50 +0000)
  debug

lustre/ptlrpc/pack_generic.c

index 1606771..3eb9604 100644 (file)
@@ -1206,8 +1206,8 @@ __u32 lustre_msg_get_opc(struct lustre_msg *msg)
                 return pb->pb_opc;
         }
         default:
-                LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic);
-                return 0;
+                CERROR("incorrect message magic: %08x\n", msg->lm_magic);
+                return 666;
         }
 }