staging: lustre: lnet: fill in real lnet_md_t
authorJames Simmons <jsimmons@infradead.org>
Thu, 17 Nov 2016 19:35:47 +0000 (14:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Nov 2016 07:47:32 +0000 (08:47 +0100)
commiteb280ab7899eb9a66eae46efce64940d36c1b161
tree8aa0c210ad0d60d3129c10fc5d8ef5b6efa40818
parent515c1750975518a01ea23aba1af6407e58c84e85
staging: lustre: lnet: fill in real lnet_md_t

While checkpatch reported an alignment issue
its just ugly to fill in a data structure being
passed to a function. Instead fill in a lnet_md_t
on the stack and pass that to LNetMDBind.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/router.c