#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)
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;