cpuset: fix the WARN_ON() in update_nodemasks_hier()
authorLi Zefan <lizefan@huawei.com>
Wed, 30 Jul 2014 07:07:13 +0000 (15:07 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 30 Jul 2014 15:26:58 +0000 (11:26 -0400)
commita13812683f1118ee4deed88d8d9bc2c268358b2e
treeca8f04658aba2a9b16a755c7b402426d8301d1b1
parent5de4fa13c4df302db41e80ca679df24fdad0d661
cpuset: fix the WARN_ON() in update_nodemasks_hier()

The WARN_ON() is used to check if we break the legal hierarchy, on
which the effective mems should be equal to configured mems.

Reported-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Tested-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Signed-off-by: Li Zefan <lizefan@huawei.com>
kernel/cpuset.c