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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:53:48 +0000 (10:53 +0100)
commit98923ebb034b8c405c5e9e216834021fe72d7875
tree91a14f97493b126f916b0d744f3901d637faad3c
parent6edd1bd8e3d81d55d2cd00ffb44d55bdfb5a1d6f
fs: dlm: use sk->sk_socket instead of con->sock

[ Upstream commit feb704bd17786c8ff52a49d7759b8ee4f3a5aaac ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lowcomms.c