fs: dlm: use sk->sk_socket instead of con->sock
authorAlexander Aring <aahringo@redhat.com>
Fri, 16 Jul 2021 20:22:34 +0000 (16:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 Jul 2021 16:53:43 +0000 (11:53 -0500)
commitfeb704bd17786c8ff52a49d7759b8ee4f3a5aaac
treeb0a6ff0b5724c000cf9182c063084742e77761ac
parent2734d6c1b1a089fb593ef6a23d4b70903526fe0c
fs: dlm: use sk->sk_socket instead of con->sock

Instead of dereference "con->sock" we can get the socket structure over
"sk->sk_socket" as well. This patch will switch to this behaviour.

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