Commit 51840f7b authored by Chen Ridong's avatar Chen Ridong Committed by Tejun Heo
Browse files

cpuset: fix missing error return in update_cpumask



The commit c6366739 ("cpuset: refactor cpus_allowed_validate_change")
inadvertently removed the error return when cpus_allowed_validate_change()
fails. This patch restores the proper error handling by returning retval
when the validation check fails.

Fixes: c6366739 ("cpuset: refactor cpus_allowed_validate_change")
Signed-off-by: default avatarChen Ridong <chenridong@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 59d5de36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment