Whamcloud - gitweb
LU-18136 mdt: remove LDLM_LOCK_* macros 06/56006/2
authorTimothy Day <timday@amazon.com>
Tue, 13 Aug 2024 02:17:05 +0000 (22:17 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:04:51 +0000 (22:04 +0000)
commit3c05a50e833fc8de0d9727048069880ac99914f0
tree0e46cb92f557f26e60274ca72c41a309462bd26b
parentece19ac2671ccfd0ca83daa8b255fa05f1ee1731
LU-18136 mdt: 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: I74504d7ea4fd294b7538c17a78c2023a47144e94
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56006
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <patrick.farrell@oracle.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_io.c
lustre/mdt/mdt_mds.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c