fs: dlm: plock use list_first_entry
authorAlexander Aring <aahringo@redhat.com>
Wed, 22 Jun 2022 18:45:04 +0000 (14:45 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 23 Jun 2022 19:22:10 +0000 (14:22 -0500)
commit976a062434739dffa1f5eec77f254109247a5a00
treef3b9ff5b22b86c28a442d6716222bb1148aa0e85
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e
fs: dlm: plock use list_first_entry

This patch will use the list helper list_first_entry() instead of using
list_entry() to get the first element of a list.

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