From 902e8881044e6461c17c5b4665f68353825a39c3 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 19 Dec 2006 13:04:03 -0800 Subject: [PATCH] --- yaml --- r: 46275 b: refs/heads/master c: 927255f0383342f5d49b82adb6689b9cba52a6f5 h: refs/heads/master i: 46273: 191c96bcae286903765e82ff50c470067bd60717 46271: 1a9e5b77552bf4002e11f474f41aa09ea02e1efa v: v3 --- [refs] | 2 +- trunk/fs/dlm/lowcomms-tcp.c | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/[refs] b/[refs] index 3729f7a8e4c9..06784fa39faf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 075529b5e1ffa8c9864d23930b71b5306a13d9f8 +refs/heads/master: 927255f0383342f5d49b82adb6689b9cba52a6f5 diff --git a/trunk/fs/dlm/lowcomms-tcp.c b/trunk/fs/dlm/lowcomms-tcp.c index 9be3a440c42a..3b224733f18b 100644 --- a/trunk/fs/dlm/lowcomms-tcp.c +++ b/trunk/fs/dlm/lowcomms-tcp.c @@ -880,22 +880,6 @@ int dlm_lowcomms_close(int nodeid) return -1; } -/* API send message call, may queue the request */ -/* N.B. This is the old interface - use the new one for new calls */ -int lowcomms_send_message(int nodeid, char *buf, int len, gfp_t allocation) -{ - struct writequeue_entry *e; - char *b; - - e = dlm_lowcomms_get_buffer(nodeid, len, allocation, &b); - if (e) { - memcpy(b, buf, len); - dlm_lowcomms_commit_buffer(e); - return 0; - } - return -ENOBUFS; -} - /* Look for activity on active sockets */ static void process_sockets(void) { @@ -1087,14 +1071,6 @@ static int daemons_start(void) return 0; } -/* - * Return the largest buffer size we can cope with. - */ -int lowcomms_max_buffer_size(void) -{ - return PAGE_CACHE_SIZE; -} - void dlm_lowcomms_stop(void) { int i;