]> 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)
commitafb81513bac59b3fab467370b6854f95f8832c06
treef3b9ff5b22b86c28a442d6716222bb1148aa0e85
parent08aafa0d475a08e31a13403e9df41c7179f4bdcd
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