dm thin: use INIT_WORK_ONSTACK in noflush_work to avoid ODEBUG warning
[deliverable/linux.git] / drivers / md / dm-thin.c
index 28fc282b61b221808b3bfe7255488f35891c3283..13abade76ad9bbd65c83c67d35f075506b17b63f 100644 (file)
@@ -1625,7 +1625,7 @@ static void noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *))
 {
        struct noflush_work w;
 
-       INIT_WORK(&w.worker, fn);
+       INIT_WORK_ONSTACK(&w.worker, fn);
        w.tc = tc;
        atomic_set(&w.complete, 0);
        init_waitqueue_head(&w.wait);
This page took 0.041538 seconds and 5 git commands to generate.