Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198629
b: refs/heads/master
c: 0cae345
h: refs/heads/master
i:
  198627: 95d831b
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Torvalds committed May 26, 2010
1 parent e1eb095 commit d3a7daa
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b1cdc4670b9508fcd47a15fbd12f70d269880b37
refs/heads/master: 0cae3457b1a6e88f31020272bcfd90c178716053
3 changes: 2 additions & 1 deletion trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@ void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol)
/* contextualize the tmpfs mount point mempolicy */
new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask);
if (IS_ERR(new))
goto put_free; /* no valid nodemask intersection */
goto free_scratch; /* no valid nodemask intersection */

task_lock(current);
ret = mpol_set_nodemask(new, &mpol->w.user_nodemask, scratch);
Expand All @@ -2114,6 +2114,7 @@ void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol)

put_free:
mpol_put(new); /* drop initial ref */
free_scratch:
NODEMASK_SCRATCH_FREE(scratch);
}
}
Expand Down

0 comments on commit d3a7daa

Please sign in to comment.