Whamcloud - gitweb
*** empty log message ***
authorpschwan <pschwan>
Mon, 24 Jun 2002 06:22:30 +0000 (06:22 +0000)
committerpschwan <pschwan>
Mon, 24 Jun 2002 06:22:30 +0000 (06:22 +0000)
lustre/osc/osc_request.c

index 822dc3f..5703168 100644 (file)
@@ -680,8 +680,8 @@ static int osc_enqueue(struct obd_conn *oconn,
         else
                 mode2 = LCK_PW;
 
-        rc = ldlm_local_lock_match(obddev->obd_namespace, res_id, type, extent,
-                                   sizeof(extent), mode2, lockh);
+        rc = ldlm_lock_match(obddev->obd_namespace, res_id, type, extent,
+                             sizeof(extent), mode2, lockh);
         if (rc == 1) {
                 int flags;
                 struct ldlm_lock *lock = lustre_handle2object(lockh);