scftorture: Shut down if nonsensical arguments given
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 13 Jul 2021 21:20:35 +0000 (14:20 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 16 Sep 2021 17:27:48 +0000 (10:27 -0700)
commit2b1388f8a408e68fda6443ec166f42ae4ffca87c
tree22f9eeefd5d971f17cd08d1544ce5077b1e36a83
parent2f611d044b8dcab245b6bbe5f691b6dce173ff56
scftorture: Shut down if nonsensical arguments given

If (say) a 10-hour scftorture run is started, but the module parameters
are so nonsensical that the run doesn't even start, then scftorture will
wait the full ten hours when run built into a guest OS.  This commit
therefore shuts down the system in this case so that the error is reported
immediately instead of ten hours hence.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/scftorture.c