aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms-tcp.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-19 16:04:03 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2007-02-05 13:36:05 -0500
commit927255f0383342f5d49b82adb6689b9cba52a6f5 (patch)
tree128aa611a70e73664d38344ae4da0251635c1699 /fs/dlm/lowcomms-tcp.c
parent075529b5e1ffa8c9864d23930b71b5306a13d9f8 (diff)
[DLM] fs/dlm/lowcomms-tcp.c: remove 2 functions
Remove the following unused functions: - lowcomms_send_message() - lowcomms_max_buffer_size() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lowcomms-tcp.c')
-rw-r--r--fs/dlm/lowcomms-tcp.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c
index 9be3a440c42a..3b224733f18b 100644
--- a/fs/dlm/lowcomms-tcp.c
+++ b/fs/dlm/lowcomms-tcp.c
@@ -880,22 +880,6 @@ out:
880 return -1; 880 return -1;
881} 881}
882 882
883/* API send message call, may queue the request */
884/* N.B. This is the old interface - use the new one for new calls */
885int lowcomms_send_message(int nodeid, char *buf, int len, gfp_t allocation)
886{
887 struct writequeue_entry *e;
888 char *b;
889
890 e = dlm_lowcomms_get_buffer(nodeid, len, allocation, &b);
891 if (e) {
892 memcpy(b, buf, len);
893 dlm_lowcomms_commit_buffer(e);
894 return 0;
895 }
896 return -ENOBUFS;
897}
898
899/* Look for activity on active sockets */ 883/* Look for activity on active sockets */
900static void process_sockets(void) 884static void process_sockets(void)
901{ 885{
@@ -1087,14 +1071,6 @@ static int daemons_start(void)
1087 return 0; 1071 return 0;
1088} 1072}
1089 1073
1090/*
1091 * Return the largest buffer size we can cope with.
1092 */
1093int lowcomms_max_buffer_size(void)
1094{
1095 return PAGE_CACHE_SIZE;
1096}
1097
1098void dlm_lowcomms_stop(void) 1074void dlm_lowcomms_stop(void)
1099{ 1075{
1100 int i; 1076 int i;