Skip to contentSkip to conversation

xfs: fix debug_object WARN at xfs_alloc_vextent()

PATCH New Jeff Liu 1 participant 1 message Jun 7, 2012 XFS filesystem

lore
Share & tools
lore

Jeff Liu

author
#0 lore raw

PATCH 1/1 xfs: fix debug_object WARN at xfs_alloc_vextent()

Hello,

There is bug report from Fengguang three days ago at:
http://www.spinics.net/lists/linux-fsdevel/msg55866.html

It looks like a XFS issue, I'd like to forward it to here with my fix at below.

Thanks,
-Jeff

---
 fs/xfs/xfs_alloc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/xfs/xfs_alloc.c +1 -1
index 0f0df27..0be396d 100644
@@ -2443,7 +2443,7 @@ xfs_alloc_vextent(
 	DECLARE_COMPLETION_ONSTACK(done);
 
 	args->done = &done;
-	INIT_WORK(&args->work, xfs_alloc_vextent_worker);
+	INIT_WORK_ONSTACK(&args->work, xfs_alloc_vextent_worker);
 	queue_work(xfs_alloc_wq, &args->work);
 	wait_for_completion(&done);
 	return args->result;
Signature · 6 lines
1.7.9

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs