diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2015-08-11 19:22:21 -0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-08-17 16:22:19 -0500 |
commit | 0d737a8cfd8341d6ba8215443a3ddfe5ddd4e51a (patch) | |
tree | 3ca94f32363177096ae4a861beb1e0d3af98f691 /fs/file_table.c | |
parent | 28926a0965a943f7c1586342f9482a6e41b4f0c9 (diff) | |
download | op-kernel-dev-0d737a8cfd8341d6ba8215443a3ddfe5ddd4e51a.zip op-kernel-dev-0d737a8cfd8341d6ba8215443a3ddfe5ddd4e51a.tar.gz |
dlm: fix race while closing connections
When a connection have issues DLM may need to close it. Therefore we
should also cancel pending workqueues for such connection at that time,
and not just when dlm is not willing to use this connection anymore.
Also, if we don't clear CF_CONNECT_PENDING flag, the error handling
routines won't be able to re-connect as lowcomms_connect_sock() will
check for it.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions