From 2573e1cfa9ff35f54fb2dee016ef44b6079d8e08 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 19 Jun 2006 09:15:38 -0400 Subject: [PATCH] --- yaml --- r: 38712 b: refs/heads/master c: 7d5513d58d072cf38cae9c886653aadac38ef4a9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/dlm/lowcomms.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 6b4a773d0fa0..b92288158bbc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3a8476dda13bc6690c5c2d5f1d3078048392c188 +refs/heads/master: 7d5513d58d072cf38cae9c886653aadac38ef4a9 diff --git a/trunk/fs/dlm/lowcomms.c b/trunk/fs/dlm/lowcomms.c index 75010da95b39..7ab40422ab57 100644 --- a/trunk/fs/dlm/lowcomms.c +++ b/trunk/fs/dlm/lowcomms.c @@ -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; @@ -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; }