Whamcloud - gitweb
LU-14520 ldlm: replace mdl_mode_t with ldlm_mode 61/56761/7
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 22 Oct 2024 23:36:53 +0000 (17:36 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:26:25 +0000 (06:26 +0000)
commit774e670bfc49617d15d63b1fe8b3ba03edbc10d1
tree26534cd25f8b764da17dee81de683688825c3547
parent6701cadb075c1a3062ac71229c023199bca82617
LU-14520 ldlm: replace mdl_mode_t with ldlm_mode

The mdl_mode_t doesn't really provide any value, since it is just a
copy of enum ldlm_mode, so it is more clear to just use ldlm_mode
directly.  Remove mdl_mode_t and conversions to/from ldlm_mode.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I0153fc67f582e51d8a2001054fa58bfae9f2255a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56761
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/md_object.h
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h