Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230816
b: refs/heads/master
c: 32d6fea
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Jan 14, 2011
1 parent 7f80343 commit 40c9a89
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 29c1f677d424e8c5683a837fc4f03fc9f19201d7
refs/heads/master: 32d6feadf4e17ea9b98071be9bbf402a74a4f818
4 changes: 3 additions & 1 deletion trunk/mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1374,8 +1374,10 @@ static ssize_t nr_hugepages_store_common(bool obey_mempolicy,
NODEMASK_ALLOC(nodemask_t, nodes_allowed, GFP_KERNEL | __GFP_NORETRY);

err = strict_strtoul(buf, 10, &count);
if (err)
if (err) {
NODEMASK_FREE(nodes_allowed);
return 0;
}

h = kobj_to_hstate(kobj, &nid);
if (nid == NUMA_NO_NODE) {
Expand Down

0 comments on commit 40c9a89

Please sign in to comment.