diff options
-rw-r--r-- | kernel/cpuset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index dba9e4aef69a..e6b1b66afe52 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -2482,9 +2482,9 @@ int __cpuset_node_allowed_softwall(int node, gfp_t gfp_mask) | |||
2482 | 2482 | ||
2483 | task_lock(current); | 2483 | task_lock(current); |
2484 | cs = nearest_hardwall_ancestor(task_cs(current)); | 2484 | cs = nearest_hardwall_ancestor(task_cs(current)); |
2485 | allowed = node_isset(node, cs->mems_allowed); | ||
2485 | task_unlock(current); | 2486 | task_unlock(current); |
2486 | 2487 | ||
2487 | allowed = node_isset(node, cs->mems_allowed); | ||
2488 | mutex_unlock(&callback_mutex); | 2488 | mutex_unlock(&callback_mutex); |
2489 | return allowed; | 2489 | return allowed; |
2490 | } | 2490 | } |