Skip to content

Commit c80e7c8

Browse files
Patrick Caulfieldswhiteho
authored andcommitted
[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>
1 parent d1998ef commit c80e7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/dlm/lowcomms-tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static DECLARE_WAIT_QUEUE_HEAD(lowcomms_recv_waitq);
143143
/* An array of pointers to connections, indexed by NODEID */
144144
static struct connection **connections;
145145
static DECLARE_MUTEX(connections_lock);
146-
static kmem_cache_t *con_cache;
146+
static struct kmem_cache *con_cache;
147147
static int conn_array_size;
148148

149149
/* List of sockets that have reads pending */

0 commit comments

Comments
 (0)