]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: dlm: use dlm_plock_info for do_unlock_close
authorAlexander Aring <aahringo@redhat.com>
Wed, 22 Jun 2022 18:45:08 +0000 (14:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Aug 2023 14:18:11 +0000 (16:18 +0200)
commit77d334c446812e17236b32aca35322d674f2165d
tree863a7c793f6f061f063fa7cc47adc766c25f6f6b
parentf9a33cc7d9465034178ef8c626bdd544a1df747e
fs: dlm: use dlm_plock_info for do_unlock_close

[ Upstream commit 4d413ae9ced4180c0e2114553c3a7560b509b0f8 ]

This patch refactors do_unlock_close() by using only struct dlm_plock_info
as a parameter.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Stable-dep-of: 57e2c2f2d94c ("fs: dlm: fix mismatch of plock results from userspace")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/plock.c