Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219541
b: refs/heads/master
c: 800416f
h: refs/heads/master
i:
  219539: 32369ba
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Oct 28, 2010
1 parent 2534766 commit 882b60f
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: 0851668fdd97e526b2a41f794b785c204dd3d3e0
refs/heads/master: 800416f799e0723635ac2d720ad4449917a1481c
2 changes: 1 addition & 1 deletion trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ unsigned slab_node(struct mempolicy *policy)
(void)first_zones_zonelist(zonelist, highest_zoneidx,
&policy->v.nodes,
&zone);
return zone->node;
return zone ? zone->node : numa_node_id();
}

default:
Expand Down

0 comments on commit 882b60f

Please sign in to comment.