Whamcloud - gitweb
LU-11398 ptlrpc: clean up rq_interpret_reply callbacks 03/33203/6
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Sep 2018 07:07:23 +0000 (03:07 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:46:52 +0000 (04:46 +0000)
commit4014ddbb235043e3adc882c6a6df10e7887a7835
tree8136d1ed6dc0c1ecf22d165764759c20b8c4db58
parente783bbffe35b2b8ebebde5bc70abf288d07df5a3
LU-11398 ptlrpc: clean up rq_interpret_reply callbacks

Clean up the function prototypes of several rq_interpret_reply
callback functions to match the function pointer type instead
of using typecasting to avoid the risk of bad function pointers.

Clean up related code to match code style.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I2df73304a8884c1cc838b9c9344d3fd9443ebbe5
Reviewed-on: https://review.whamcloud.com/33203
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
13 files changed:
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/lfsck/lfsck_layout.c
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_locks.c
lustre/osc/osc_io.c
lustre/osc/osc_request.c
lustre/osp/osp_precreate.c
lustre/osp/osp_sync.c
lustre/osp/osp_trans.c
lustre/ptlrpc/client.c
lustre/ptlrpc/import.c