Whamcloud - gitweb
LU-17662 osd-zfs: Support for ZFS 2.2.3
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_requests.c
index 66b8191..e09ab30 100644 (file)
 #include "mdt_internal.h"
 
 static unsigned int
-cdt_request_cookie_hash(struct cfs_hash *hs, const void *key, unsigned int mask)
+cdt_request_cookie_hash(struct cfs_hash *hs, const void *key,
+                       const unsigned int bits)
 {
-       return cfs_hash_djb2_hash(key, sizeof(u64), mask);
+       return cfs_hash_djb2_hash(key, sizeof(u64), bits);
 }
 
 static void *cdt_request_cookie_object(struct hlist_node *hnode)
@@ -278,7 +279,7 @@ void mdt_cdt_get_request(struct cdt_agent_req *car)
        kref_get(&car->car_refcount);
 }
 
-void mdt_cdt_put_request_free(struct kref *kref)
+static void mdt_cdt_put_request_free(struct kref *kref)
 {
        struct cdt_agent_req *car;