]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/lustre/lustre/ptlrpc/connection.c
staging: lustre: change cfs_hash_ops_t to struct
[karo-tx-linux.git] / drivers / staging / lustre / lustre / ptlrpc / connection.c
index 1ba1f5f2eeaa6a93fdc836b4d251b49d8675adec..da1f0b1ac3e38a7e88f664e7f9a61c24e9b6a907 100644 (file)
@@ -42,7 +42,7 @@
 #include "ptlrpc_internal.h"
 
 static struct cfs_hash *conn_hash;
-static cfs_hash_ops_t conn_hash_ops;
+static struct cfs_hash_ops conn_hash_ops;
 
 struct ptlrpc_connection *
 ptlrpc_connection_get(lnet_process_id_t peer, lnet_nid_t self,
@@ -230,12 +230,12 @@ conn_exit(struct cfs_hash *hs, struct hlist_node *hnode)
        kfree(conn);
 }
 
-static cfs_hash_ops_t conn_hash_ops = {
+static struct cfs_hash_ops conn_hash_ops = {
        .hs_hash        = conn_hashfn,
        .hs_keycmp      = conn_keycmp,
-       .hs_key  = conn_key,
+       .hs_key         = conn_key,
        .hs_object      = conn_object,
-       .hs_get  = conn_get,
+       .hs_get         = conn_get,
        .hs_put_locked  = conn_put_locked,
        .hs_exit        = conn_exit,
 };