Whamcloud - gitweb
LU-18136 ldlm: remove LDLM_LOCK_* macros 05/56005/2
authorTimothy Day <timday@amazon.com>
Tue, 13 Aug 2024 02:03:45 +0000 (22:03 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:04:26 +0000 (22:04 +0000)
commitece19ac2671ccfd0ca83daa8b255fa05f1ee1731
tree38ff3c46c88acc9e73563aca16b080ed6eec4e66
parente1c7c41b575bf9bdd2906df82583ffdc34aa7d7f
LU-18136 ldlm: remove LDLM_LOCK_* macros

These macros are simply duplicates of the corresponding
ldlm_lock_* functions.

The patch has been generated with the coccinelle script below.

@@
expression x;
@@
- LDLM_LOCK_PUT(x)
+ ldlm_lock_put(x)
@@
expression x;
@@
- LDLM_LOCK_RELEASE(x)
+ ldlm_lock_put(x)
@@
expression x;
@@
- LDLM_LOCK_GET(x)
+ ldlm_lock_get(x)

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I52e14ae0fe7e6b946600c98f17c067d93f4e80cf
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56005
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <patrick.farrell@oracle.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_reclaim.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c