summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorPatrick Caulfield <pcaulfie@redhat.com>2006-12-08 20:31:12 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2006-12-15 18:51:22 +0100
commitc80e7c83d56866a735236b45441f024b589f9e88 (patch)
tree071fd93450d534c20594ab8b72def41ea5c61270 /fs/dlm
parent[PATCH] ib_verbs: Use explicit if-else statements to avoid errors with do-whi... (diff)
downloadlinux-c80e7c83d56866a735236b45441f024b589f9e88.tar.xz
linux-c80e7c83d56866a735236b45441f024b589f9e88.zip
[DLM] fix compile warning
This patch fixes a compile warning in lowcomms-tcp.c indicating that kmem_cache_t is deprecated. Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lowcomms-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c
index 8f2791fc8447..9be3a440c42a 100644
--- a/fs/dlm/lowcomms-tcp.c
+++ b/fs/dlm/lowcomms-tcp.c
@@ -143,7 +143,7 @@ static DECLARE_WAIT_QUEUE_HEAD(lowcomms_recv_waitq);
/* An array of pointers to connections, indexed by NODEID */
static struct connection **connections;
static DECLARE_MUTEX(connections_lock);
-static kmem_cache_t *con_cache;
+static struct kmem_cache *con_cache;
static int conn_array_size;
/* List of sockets that have reads pending */