Whamcloud - gitweb
LU-18136 quota: remove LDLM_LOCK_* macros 11/56011/2
authorTimothy Day <timday@amazon.com>
Tue, 13 Aug 2024 02:22:49 +0000 (22:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:05:58 +0000 (22:05 +0000)
commita543e7384ee34087b4eff4f7406691ca2c048fb8
tree702c7ccf87ad9d12ea53683b6751196ea534450c
parent807722bfe6aadebf81b64817ee2743854644a24f
LU-18136 quota: 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: I19622b133d95e619d5bd5a12189cc5eb3d2d928f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56011
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>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/quota/qmt_handler.c
lustre/quota/qmt_lock.c
lustre/quota/qsd_handler.c
lustre/quota/qsd_lock.c