Whamcloud - gitweb
LU-6142 ldlm: use list_for_each_entry in ldlm_lock.c 34/49734/4
authorMr. NeilBrown <neilb@suse.de>
Mon, 23 Jan 2023 21:24:59 +0000 (16:24 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Feb 2023 06:26:05 +0000 (06:26 +0000)
commit685fb4b17fd3e34817f47457d1b7f6d629a1a7fc
tree3650bf3a4f015a35ee4635e53b543a27046567d3
parent93230059abe9dfe39a8b72cb8fc31bab1cadc7b6
LU-6142 ldlm: use list_for_each_entry in ldlm_lock.c

This makes some slightly-confusing code a bit clearer, and
avoids the need for 'tmp'.

Linux-commit: 557d001aa51fd6171d7a68dec21f8327fc824173

Change-Id: If9d070492e0016fa235fb38726f7c7a3b380d580
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/+/49734
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_lock.c