]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b786496fc83e555f0b2ab29e9078db107cf1a66
treef3b9ff5b22b86c28a442d6716222bb1148aa0e85
parent4764e99deee460568d59e6c88fcf402440c6a616
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