summaryrefslogtreecommitdiffstats
path: root/fs/ntfs
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2010-03-23 13:35:34 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 16:01:50 -0700
commit8147bcf0da9a74b7dbec29bb3e489967f91f3c94 (patch)
tree94ad31b6070692f0169503d4c09ddee062fba545 /fs/ntfs
parentc439578e379c3ffe8ffe4669f2e2af7ecfca74f1 (diff)
downloadkernel-crypto-8147bcf0da9a74b7dbec29bb3e489967f91f3c94.tar.gz
kernel-crypto-8147bcf0da9a74b7dbec29bb3e489967f91f3c94.tar.xz
kernel-crypto-8147bcf0da9a74b7dbec29bb3e489967f91f3c94.zip
cpuset: fix the problem that cpuset_mem_spread_node() returns an offline node
commit 5ab116c9349ef52d6fbd2e2917a53f13194b048e upstream. cpuset_mem_spread_node() returns an offline node, and causes an oops. This patch fixes it by initializing task->mems_allowed to node_states[N_HIGH_MEMORY], and updating task->mems_allowed when doing memory hotplug. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Reported-by: Nick Piggin <npiggin@suse.de> Tested-by: Nick Piggin <npiggin@suse.de> Cc: Paul Menage <menage@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions