Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38712
b: refs/heads/master
c: 7d5513d
h: refs/heads/master
v: v3
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Jun 19, 2006
1 parent 52e068b commit 2573e1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 3a8476dda13bc6690c5c2d5f1d3078048392c188
refs/heads/master: 7d5513d58d072cf38cae9c886653aadac38ef4a9
7 changes: 3 additions & 4 deletions trunk/fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,10 +1190,6 @@ int dlm_lowcomms_start(void)
{
int error;

spin_lock_init(&write_nodes_lock);
INIT_LIST_HEAD(&write_nodes);
init_rwsem(&nodeinfo_lock);

error = init_sock();
if (error)
goto fail_sock;
Expand Down Expand Up @@ -1224,6 +1220,9 @@ void dlm_lowcomms_stop(void)
int dlm_lowcomms_init(void)
{
init_waitqueue_head(&lowcomms_recv_wait);
spin_lock_init(&write_nodes_lock);
INIT_LIST_HEAD(&write_nodes);
init_rwsem(&nodeinfo_lock);
return 0;
}

Expand Down

0 comments on commit 2573e1c

Please sign in to comment.