From: Josef Bacik Date: Fri, 20 Apr 2007 16:16:00 -0400 Subject: [Cluster-devel] [DLM][PATCH] another semaphore lockup fix Message-ID: <20070420201600.GB22226@korben.rdu.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, Should have caught this yesterday but I didn't test until today. We already hold the connection semaphore when we get here, so we need to use __nodeid2con instead of nodeid2con. Thank you, Josef diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 2b32f3c..6a4577d 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1351,7 +1351,7 @@ static void clean_writequeues(void) int nodeid; for (nodeid = 1; nodeid < max_nodeid; nodeid++) { - struct connection *con = nodeid2con(nodeid, 0); + struct connection *con = __nodeid2con(nodeid, 0); if (con) clean_one_writequeue(con);