]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()
authorChuansheng Liu <chuansheng.liu@intel.com>
Tue, 7 Jan 2014 08:53:34 +0000 (16:53 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 10 Jan 2014 18:39:38 +0000 (12:39 -0600)
commit51fc6c86e23e2b12accb4f0a764f97ea17b18f07
treeb06d06c6d0acb3305ef59dc02d29597c289dcf89
parentd8d3afd5c5d606bff3e386c1f3b46295f87fa52b
xfs: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()

In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to
call destroy_work_on_stack() which frees the debug object to pair
with INIT_WORK_ONSTACK().

Signed-off-by: Liu, Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit 6f96b3063cdd473c68664a190524ed966ac0cd92)
fs/xfs/xfs_bmap_util.c