[PATCH] xfs: use INIT_WORK_ONSTACK in xfs_alloc_vextent()

Ben Myers bpm at sgi.com
Fri Jun 8 14:44:50 CDT 2012


On Fri, Jun 08, 2012 at 02:32:42PM -0500, Eric Sandeen wrote:
> w/o this change I was getting:
> 
> [  742.376495] ODEBUG: object is on stack, but not annotated
> [  742.377007] ------------[ cut here ]------------
> [  742.377007] WARNING: at lib/debugobjects.c:302 __debug_object_init+0x1c0/0x3d0()
> ...
> [  742.377007] Call Trace:
> [  742.377007]  [<ffffffff81060dbf>] warn_slowpath_common+0x7f/0xc0
> [  742.377007]  [<ffffffff81060e1a>] warn_slowpath_null+0x1a/0x20
> [  742.377007]  [<ffffffff81336640>] __debug_object_init+0x1c0/0x3d0
> [  742.377007]  [<ffffffff8133689f>] debug_object_init+0x1f/0x30
> [  742.377007]  [<ffffffff81081cd9>] __init_work+0x19/0x30
> [  742.377007]  [<ffffffffa0299f81>] xfs_alloc_vextent+0x101/0x190 [xfs]
> 
> on a debug 3.4 kernel.
> 
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>

Looks pretty good.  ;)
Reviewed-by: Ben Myers <bpm at sgi.com>



More information about the xfs mailing list