Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46275
b: refs/heads/master
c: 927255f
h: refs/heads/master
i:
  46273: 191c96b
  46271: 1a9e5b7
v: v3
  • Loading branch information
Adrian Bunk authored and Steven Whitehouse committed Feb 5, 2007
1 parent cdb73ef commit 902e888
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 075529b5e1ffa8c9864d23930b71b5306a13d9f8
refs/heads/master: 927255f0383342f5d49b82adb6689b9cba52a6f5
24 changes: 0 additions & 24 deletions trunk/fs/dlm/lowcomms-tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 902e888

Please sign in to comment.