]> git.karo-electronics.de Git - linux-beck.git/commit
rcutorture: Gracefully handle NULL cleanup hooks
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 7 Feb 2014 22:42:51 +0000 (14:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:04:39 +0000 (09:04 -0800)
commitf881825a73543e9664c7fe7166e06f5f4d569834
tree534328a56f9bbe9cca4dcb36d15b37dd7093e1de
parent9dfa5b35c190e3ce9325a356f54282a4b8dc0336
rcutorture: Gracefully handle NULL cleanup hooks

Although most torture tests will have some cleanup hook, it is possible
that one might not.  This commit therefore enables graceful handling of
a NULL cleanup hook during torture-test shutdown.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/torture.c