Whamcloud - gitweb
Kill unused ldlm_handle2lock_ns() function.
authornikita <nikita>
Sat, 18 Oct 2008 17:02:22 +0000 (17:02 +0000)
committernikita <nikita>
Sat, 18 Oct 2008 17:02:22 +0000 (17:02 +0000)
b=16450

lustre/ChangeLog
lustre/ldlm/ldlm_lock.c

index 4cceacd..59a3afd 100644 (file)
@@ -1535,6 +1535,11 @@ Details    : Add functions to map (rather arbitrary) between LDLM error codes
             and standard errno values. CLIO needs this to prevent LDLM specific
             constants from escaping ldlm and osc.
 
+Severity   : minor
+Bugzilla   : 16450
+Description: Kill unused ldlm_handle2lock_ns() function.
+Details    : Kill unused ldlm_handle2lock_ns() function.
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
index 9d93d1d..8e63622 100644 (file)
@@ -475,14 +475,6 @@ struct ldlm_lock *__ldlm_handle2lock(const struct lustre_handle *handle,
         return retval;
 }
 
-struct ldlm_lock *ldlm_handle2lock_ns(struct ldlm_namespace *ns,
-                                      const struct lustre_handle *handle)
-{
-        struct ldlm_lock *retval = NULL;
-        retval = __ldlm_handle2lock(handle, 0);
-        return retval;
-}
-
 void ldlm_lock2desc(struct ldlm_lock *lock, struct ldlm_lock_desc *desc)
 {
         struct obd_export *exp = lock->l_export?:lock->l_conn_export;