Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188913
b: refs/heads/master
c: 413b43d
h: refs/heads/master
i:
  188911: 530e552
v: v3
  • Loading branch information
Ravikiran G Thirumalai authored and Linus Torvalds committed Mar 24, 2010
1 parent a2b89d3 commit 4acd66d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 8c363afe94b885d39ae2e93e41680282a470ad84
refs/heads/master: 413b43deab8377819aba1dbad2abf0c15d59b491
9 changes: 7 additions & 2 deletions trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2215,10 +2215,15 @@ int mpol_parse_str(char *str, struct mempolicy **mpol, int no_context)
goto out;
mode = MPOL_PREFERRED;
break;

case MPOL_DEFAULT:
/*
* Insist on a empty nodelist
*/
if (!nodelist)
err = 0;
goto out;
/*
* case MPOL_BIND: mpol_new() enforces non-empty nodemask.
* case MPOL_DEFAULT: mpol_new() enforces empty nodemask, ignores flags.
*/
}

Expand Down

0 comments on commit 4acd66d

Please sign in to comment.