diff options
Diffstat (limited to 'fs/dlm/lowcomms.c')
-rw-r--r-- | fs/dlm/lowcomms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index c0d35c620526..37a34c2c622a 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c | |||
@@ -248,7 +248,7 @@ static struct connection *assoc2con(int assoc_id) | |||
248 | 248 | ||
249 | for (i = 0 ; i < CONN_HASH_SIZE; i++) { | 249 | for (i = 0 ; i < CONN_HASH_SIZE; i++) { |
250 | hlist_for_each_entry(con, h, &connection_hash[i], list) { | 250 | hlist_for_each_entry(con, h, &connection_hash[i], list) { |
251 | if (con && con->sctp_assoc == assoc_id) { | 251 | if (con->sctp_assoc == assoc_id) { |
252 | mutex_unlock(&connections_lock); | 252 | mutex_unlock(&connections_lock); |
253 | return con; | 253 | return con; |
254 | } | 254 | } |