]> 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:23:10 +0000 (16:23 +0200)
commitc3a1c4d996bf93225271a2dc705b107ddf6176bd
tree5eddd0604ce2570c75471c74edd551c84b217c00
parentd503919895d80e97cb0e607f020905b6977577fd
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