rcu: Add destroy_work_on_stack() to match INIT_WORK_ONSTACK()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 19 Jun 2019 22:42:51 +0000 (15:42 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 1 Aug 2019 21:05:51 +0000 (14:05 -0700)
commitfbad01af8c3bb9618848abde8054ab7e0c2330fe
treee63603c7f9a365f36499cf7802240feee64fac4b
parentcdc694b2359d52cd6d0465d5a6263d97c786fb0c
rcu: Add destroy_work_on_stack() to match INIT_WORK_ONSTACK()

The synchronize_rcu_expedited() function has an INIT_WORK_ONSTACK(),
but lacks the corresponding destroy_work_on_stack().  This commit
therefore adds destroy_work_on_stack().

Reported-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Acked-by: Andrea Arcangeli <aarcange@redhat.com>
kernel/rcu/tree_exp.h