Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5581
b: refs/heads/master
c: ba17101
h: refs/heads/master
i:
  5579: a5346ea
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Aug 2, 2005
1 parent c49180f commit a9e8610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 690dbe1ced143876d8fa56b72310738dbe079d0a
refs/heads/master: ba17101b41977f124948e0a7797fdcbb59e19f3e
2 changes: 1 addition & 1 deletion trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ asmlinkage long sys_set_mempolicy(int mode, unsigned long __user *nmask,
struct mempolicy *new;
DECLARE_BITMAP(nodes, MAX_NUMNODES);

if (mode > MPOL_MAX)
if (mode < 0 || mode > MPOL_MAX)
return -EINVAL;
err = get_nodes(nodes, nmask, maxnode, mode);
if (err)
Expand Down

0 comments on commit a9e8610

Please sign in to comment.