Whamcloud - gitweb
LU-6142 lustre: change obd_ioctl_getdata() args 81/39381/4
authorMr NeilBrown <neilb@suse.de>
Wed, 15 Jul 2020 06:16:35 +0000 (16:16 +1000)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 21:41:50 +0000 (21:41 +0000)
commit33265fe88ba59148609dc0706c84e4fb7fde43aa
tree9ff545ed424043ee3fe91137a9bd32930984142c
parent7b237bd306e796cd08b3df43a9c697ed8d8d9332
LU-6142 lustre: change obd_ioctl_getdata() args

Instead of passing a pointer to 'char *' to obd_ioctl_getdata(),
pass a pointer to 'struct obd_ioctl_data *'.
This seems more natural, and avoid needing extra 'char *data'
variables wherever the function is called.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I0287cd2fafd071a2580d48a52498469ceded3e79
Reviewed-on: https://review.whamcloud.com/39381
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/include/obd_class.h
lustre/llite/dir.c
lustre/llite/llite_lib.c
lustre/lov/lov_obd.c
lustre/obdclass/class_obd.c