[patch]workqueue: copy attr with all fields.

From: Shaohua Li
Date: Mon Jul 29 2013 - 02:24:23 EST


copy_workqueue_attrs() forgets to copy no_numa field.

Signed-off-by: Shaohua Li <shli@xxxxxxxxxxxx>

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 0b72e81..a988f54 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3411,6 +3411,7 @@ static void copy_workqueue_attrs(struct workqueue_attrs *to,
{
to->nice = from->nice;
cpumask_copy(to->cpumask, from->cpumask);
+ to->no_numa = from->no_numa;
}

/* hash value of the content of @attr */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/