]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: lnet: use struct lnet_ioctl_config_data for NI query
authorAmir Shehata <amir.shehata@intel.com>
Sat, 7 May 2016 01:30:23 +0000 (21:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2016 12:05:23 +0000 (14:05 +0200)
commit27c7f7caa694aee34665f06c0f6b0c49995d9e4f
tree63aa6e4b6f17cbc8ef9747e20b4feb23b4858aed
parentd76d938589eadb1295cb03c672b84f4869d0fe2c
staging: lustre: lnet: use struct lnet_ioctl_config_data for NI query

The functions used to query the NI state passes around the
individual fields of struct lnet_ioctl_config_data. To simplify
the code lets just pass struct lnet_ioctl_config directly.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7101
Reviewed-on: http://review.whamcloud.com/16367
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Olaf Weber <olaf@sgi.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-lnet.h
drivers/staging/lustre/lnet/lnet/api-ni.c