staging: lustre: lnet: fix incorrect arguments order calling lstcon_session_new
authorColin Ian King <colin.king@canonical.com>
Wed, 19 Jul 2017 16:20:36 +0000 (17:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 15:01:54 +0000 (08:01 -0700)
commit52bc17b0298f7fa721fee447ddf05c91df361786
tree6fe4f91ca8e46135677f314908e18687e63d1ff4
parentdc5b02a9087167da602e826801cdf7c8b0dbe32a
staging: lustre: lnet: fix incorrect arguments order calling lstcon_session_new

The arguments args->lstio_ses_force and args->lstio_ses_timeout are
in the incorrect order. Fix this by swapping them around.

Detected by CoverityScan, CID#1226833 ("Arguments in wrong order")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/conctl.c