]> git.karo-electronics.de Git - linux-beck.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>
Thu, 9 Jan 2014 21:50:31 +0000 (15:50 -0600)
commit6f96b3063cdd473c68664a190524ed966ac0cd92
tree9f8e47cc5bf4d0965f92ca6cb1f4002fbd23277f
parent85dd0707f0cad26d60f2dc574d17a5ab948d10f7
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>
fs/xfs/xfs_bmap_util.c