fs: dlm: set connected bit after accept
authorAlexander Aring <aahringo@redhat.com>
Mon, 1 Mar 2021 22:05:10 +0000 (17:05 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Mar 2021 14:56:42 +0000 (08:56 -0600)
commitb30a624f50d9b637ffe9ef3cf4c53abd5bc607d1
tree986c12c8176878c0b608d8d3df3d4c3e08ca72b4
parente125fbeb538e5e35a00c6c8150a5361bef34814c
fs: dlm: set connected bit after accept

This patch sets the CF_CONNECTED bit when dlm accepts a connection from
another node. If we don't set this bit, next time if the connection
socket gets writable it will assume an event that the connection is
successfully connected. However that is only the case when the
connection did a connect.

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