Whamcloud - gitweb
- fixed a typo.
authoryury <yury>
Sun, 9 Dec 2007 14:25:56 +0000 (14:25 +0000)
committeryury <yury>
Sun, 9 Dec 2007 14:25:56 +0000 (14:25 +0000)
lustre/ldlm/ldlm_request.c

index 9c4621a..1293378 100644 (file)
@@ -535,7 +535,7 @@ struct ptlrpc_request *ldlm_prep_enqueue_req(struct obd_export *exp,
 
                 flags = ns_connect_lru_resize(ns) ? 
                         LDLM_CANCEL_LRUR : LDLM_CANCEL_AGED;
-                cancel = ns_connect_lru_resize(exp) ? 0 : 1;
+                cancel = ns_connect_lru_resize(ns) ? 0 : 1;
 
                 /* Cancel lru locks here _only_ if the server supports 
                  * EARLY_CANCEL. Otherwise we have to send extra CANCEL