Whamcloud - gitweb
LU-18136 llite: remove LDLM_LOCK_* macros 09/56009/2
authorTimothy Day <timday@amazon.com>
Tue, 13 Aug 2024 02:21:10 +0000 (22:21 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:05:30 +0000 (22:05 +0000)
commit74038a5993107d257282aa2c97908924697bb6f9
tree05060e8d9e0ed6ae7e4fe657d93eba591c976a0c
parent212b306d675fb37425ba6079dd701f17c8e108bf
LU-18136 llite: 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: I64df3f044f1946a6b0d91dd1f4c24cef8751b05b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56009
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>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/file.c
lustre/llite/llite_lib.c