From fe1607918cf8bcbd2d50260073612cdb0b5230d0 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Tue, 3 Aug 2010 23:34:16 +0200 Subject: [PATCH] --- yaml --- r: 206272 b: refs/heads/master c: f70cb33b9c270f4f1a7f28327e7d35dbf1a6fc40 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/dlm/lowcomms.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 29d68748c749..e0809a034dbf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a4d935bd97b9ccf40aa0ec59646612df8ed46640 +refs/heads/master: f70cb33b9c270f4f1a7f28327e7d35dbf1a6fc40 diff --git a/trunk/fs/dlm/lowcomms.c b/trunk/fs/dlm/lowcomms.c index c0d35c620526..37a34c2c622a 100644 --- a/trunk/fs/dlm/lowcomms.c +++ b/trunk/fs/dlm/lowcomms.c @@ -248,7 +248,7 @@ static struct connection *assoc2con(int assoc_id) for (i = 0 ; i < CONN_HASH_SIZE; i++) { hlist_for_each_entry(con, h, &connection_hash[i], list) { - if (con && con->sctp_assoc == assoc_id) { + if (con->sctp_assoc == assoc_id) { mutex_unlock(&connections_lock); return con; }