copy_workqueue_attrs() forgets to copy no_numa field.

Signed-off-by: Shaohua Li <s...@fuisonio.com>

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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to