]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: replace use of socket sk_callback_lock with sock_lock
authorAlexander Aring <aahringo@redhat.com>
Mon, 15 Nov 2021 13:57:06 +0000 (08:57 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 15 Nov 2021 17:49:18 +0000 (11:49 -0600)
commit1c862347108ff634140a04888a7da668aa52cef2
treed66a4c0c7a4172792eebd04ad34193f35ca124c1
parent6f1fafa85051439921d38ca6ba2dff00ec228676
fs: dlm: replace use of socket sk_callback_lock with sock_lock

This patch will replace the use of socket sk_callback_lock lock and uses
socket lock instead. Some users like sunrpc, see commit 73e94df6fa60
("SUNRPC: Replace use of socket sk_callback_lock with sock_lock") moving
from sk_callback_lock to sock_lock which seems to be held when the socket
callbacks are called.

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