rcu: Fixes to rcutorture error handling and cleanup
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 18 Feb 2012 06:12:18 +0000 (22:12 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 25 Apr 2012 03:55:39 +0000 (20:55 -0700)
commit37e377d2823e03528cb64f435d7c0e30b1c668eb
tree4cad4e769f6e244886649001a91de85a3a2c80ce
parent66f75a5d028beaf67c931435fdc3e7823125730c
rcu: Fixes to rcutorture error handling and cleanup

The rcutorture initialization code ignored the error returns from
rcu_torture_onoff_init() and rcu_torture_stall_init().  The rcutorture
cleanup code failed to NULL out a number of pointers.  These bugs will
normally have no effect, but this commit fixes them nevertheless.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutorture.c