Skip to content

Commit

Permalink
[DLM] fix compile warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick Caulfield authored and Steven Whitehouse committed Dec 15, 2006
1 parent d1998ef commit c80e7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dlm/lowcomms-tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit c80e7c8

Please sign in to comment.