summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2007-02-20 22:57:49 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-21 02:10:13 +0100
commit8af5e2eb3cc4450ffba9496c875beac41bf4f4f8 (patch)
treed15c56e8add1b53d5ed4d5dcb5d1f016d8f2b1c9 /net/sunrpc
parent[PATCH] rework reserved major handling (diff)
downloadlinux-8af5e2eb3cc4450ffba9496c875beac41bf4f4f8.tar.xz
linux-8af5e2eb3cc4450ffba9496c875beac41bf4f4f8.zip
[PATCH] fix mempolicy's check on a system with memory-less-node
bind_zonelist() can create zero-length zonelist if there is a memory-less-node. This patch checks the length of zonelist. If length is 0, returns -EINVAL. tested on ia64/NUMA with memory-less-node. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Andi Kleen <ak@suse.de> Cc: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions