fs: dlm: move dlm allow conn
authorAlexander Aring <aahringo@redhat.com>
Wed, 2 Jun 2021 13:45:18 +0000 (09:45 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 2 Jun 2021 16:53:04 +0000 (11:53 -0500)
commit9a4139a79403161f190cf30be7d89ac877ae3b12
tree6417ad0e51d170cb7f963c8cadfc184947f479a8
parent6c6a1cc666956cbb3ac6db79ed401ee027e6f950
fs: dlm: move dlm allow conn

This patch checks if possible allowing new connections is allowed before
queueing the listen socket to accept new connections.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c