Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64641
b: refs/heads/master
c: 3b42d28
h: refs/heads/master
i:
  64639: 5ce0438
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Aug 31, 2007
1 parent d38723e commit 2c19fe5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dec4ad86c2fbea062e9ef9caa6d6e79f7c5e0b12
refs/heads/master: 3b42d28b2a04b3c9830eb865288239d45eccc402
5 changes: 5 additions & 0 deletions trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,11 @@ asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode,
goto out;
}

if (!nodes_subset(new, node_online_map)) {
err = -EINVAL;
goto out;
}

err = security_task_movememory(task);
if (err)
goto out;
Expand Down

0 comments on commit 2c19fe5

Please sign in to comment.