Whamcloud - gitweb
LU-18921 ldlm: make client_obd_cleanup return void 61/58761/2
authorTimothy Day <timday@amazon.com>
Fri, 11 Apr 2025 16:02:43 +0000 (16:02 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 25 Apr 2025 00:57:36 +0000 (00:57 +0000)
commit9f0ce80e7c83eb584306709a34410a15fcea3bde
treef6b7374759c18bbfe3c9f211bdcecbe99c50c22a
parent7f20965086afbd579099518ddc8fdb46bc29e856
LU-18921 ldlm: make client_obd_cleanup return void

client_obd_cleanup() can never fail and it always returns
0. Make the function return void instead and fix all of the
callers.

Test-Parameters: trivial
Fixes: 911b6167a37c ("LU-3810 obd: Cleanup client import if client_obd_setup fail")
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I5a5987b4fafb712c35943620235620c6370a9f76
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58761
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vandana Rungta <vrungta@amazon.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/mgc/mgc_request.c
lustre/osc/osc_request.c
lustre/osp/lwp_dev.c
lustre/osp/osp_dev.c