Whamcloud - gitweb
- Remove last references to OBD_CLASS_UUID. Now the obd->obd_uuid is
authorrread <rread>
Tue, 18 Nov 2003 20:36:11 +0000 (20:36 +0000)
committerrread <rread>
Tue, 18 Nov 2003 20:36:11 +0000 (20:36 +0000)
used as the client uuid for self and lctl exports.

lustre/ldlm/ldlm_lib.c

index 825d409..c642525 100644 (file)
@@ -431,7 +431,7 @@ int target_handle_connect(struct ptlrpc_request *req, svc_handler_t handler)
                 GOTO(out, rc);
 
         /* lctl gets a backstage, all-access pass. */
-        if (obd_uuid_equals(&cluuid, &lctl_fake_uuid))
+        if (obd_uuid_equals(&cluuid, &target->obd_uuid))
                 goto dont_check_exports;
 
         spin_lock(&target->obd_dev_lock);