fs: dlm: clear CF_APP_LIMITED on close
authorAlexander Aring <aahringo@redhat.com>
Fri, 16 Jul 2021 20:22:37 +0000 (16:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 Jul 2021 16:53:43 +0000 (11:53 -0500)
commit052849beeab02306d1420d03da959e7db883b375
tree6fae3cd9e904baa3f71e2e18b9881e6b14cbbd96
parentb892e4792c992a0d5a272c3bdd6155bf772acfa7
fs: dlm: clear CF_APP_LIMITED on close

If send_to_sock() sets CF_APP_LIMITED limited bit and it has not been
cleared by a waiting lowcomms_write_space() yet and a close_connection()
apprears we should clear the CF_APP_LIMITED bit again because the
connection starts from a new state again at reconnect.

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