diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-08-31 03:01:48 (GMT) |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-10-06 18:28:44 (GMT) |
commit | a36a99618b1adb2d6ca0b7e08e3a656a04e477fe (patch) | |
tree | f99dc4e3e38f8c51ccd96435e3c917e3f4a60cec /kernel/rcu/rcutorture.c | |
parent | a8c06024d0b557b465ad40b87ef0b51a428f99fd (diff) | |
download | linux-a36a99618b1adb2d6ca0b7e08e3a656a04e477fe.tar.xz |
locktorture: Fix module unwind when bad torture_type specified
The locktorture module has a list of torture types, and specifying
a type not on this list is supposed to cleanly fail the module load.
Unfortunately, the "fail" happens without the "cleanly". This commit
therefore adds the needed clean-up after an incorrect torture_type.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu/rcutorture.c')
0 files changed, 0 insertions, 0 deletions