]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: add midcomms init/start functions
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:46 +0000 (17:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:18 +0000 (08:50 +0100)
commit0f791a2f5b47bfe3c210d53d383e4472b4fd3e94
tree0e21b0f756f7c175741f576174d8330dbb71b92f
parentb1f6b8cfcaf92d0a2f1d3e32b1247f8bff802c6e
fs: dlm: add midcomms init/start functions

[ Upstream commit 721b8349d0534ccbdef269b55419f3d7ef97e9b6 ]

This patch introduces leftovers of init, start, stop and exit
functionality. The dlm application layer should always call the midcomms
layer which getting aware of such event and redirect it to the lowcomms
layer. Some functionality which is currently handled inside the start
functionality of midcomms and lowcomms should be handled in the init
functionality as it only need to be initialized once when dlm is loaded.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Stable-dep-of: 5282c6801f3b ("fs: dlm: start midcomms before scand")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lockspace.c
fs/dlm/lowcomms.c
fs/dlm/lowcomms.h
fs/dlm/main.c
fs/dlm/midcomms.c
fs/dlm/midcomms.h