Whamcloud - gitweb
Fix logic error in recent checkin. Put bitfields together.
authoradilger <adilger>
Fri, 6 Feb 2004 18:00:53 +0000 (18:00 +0000)
committeradilger <adilger>
Fri, 6 Feb 2004 18:00:53 +0000 (18:00 +0000)
b=2680

lustre/ldlm/ldlm_lib.c

index 552010a..ca11d2f 100644 (file)
@@ -510,7 +510,7 @@ int target_handle_connect(struct ptlrpc_request *req, svc_handler_t handler)
         LASSERT(export != NULL);
 
         /* request from liblustre? */
-        if (lustre_msg_get_op_flags(req->rq_reqmsg) | MSG_CONNECT_LIBCLIENT)
+        if (lustre_msg_get_op_flags(req->rq_reqmsg) & MSG_CONNECT_LIBCLIENT)
                 export->exp_libclient = 1;
 
         if (req->rq_connection != NULL)