Whamcloud - gitweb
fix a typo
authorhuanghua <huanghua>
Sat, 4 Nov 2006 06:08:00 +0000 (06:08 +0000)
committerhuanghua <huanghua>
Sat, 4 Nov 2006 06:08:00 +0000 (06:08 +0000)
lustre/mdt/mdt_handler.c

index 78424b6..0bf108f 100644 (file)
@@ -1555,7 +1555,7 @@ static int mdt_sec_ctx_handle(struct mdt_thread_info *info)
                 __u32                  opc;
 
                 opc = lustre_msg_get_opc(req->rq_reqmsg);
-                if (opc = SEC_CTX_INIT || opc == SEC_CTX_INIT_CONT)
+                if (opc == SEC_CTX_INIT || opc == SEC_CTX_INIT_CONT)
                         sptlrpc_svc_ctx_invalidate(req);
         }