Whamcloud - gitweb
LU-6142 ldlm: use list_first_entry in ldlm_lock 59/49359/3
authorMr. NeilBrown <neilb@suse.de>
Sat, 10 Dec 2022 14:27:08 +0000 (09:27 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2023 15:27:56 +0000 (15:27 +0000)
commit1632ed0340ade65b5e49a8a0489a98bd1c5e09a7
tree17f11e74352ead0aacc9dc688bd744a44e7404f2
parentc0aa5d97da570ea5abca5fb7323c70a3f8fd3b24
LU-6142 ldlm: use list_first_entry in ldlm_lock

This make the code (slightly) more readable.

Linux-commit: ef7e70a ("staging: lustre: ldlm: use list_first_entry in ldlm_lock")

Change-Id: If9789fef1dec55d08dec25819aaf5152946819c5
Signed-off-by: Mr. NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49359
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_lock.c