Linus Torvalds 6f5a55f1a6 Fix potential crash with sys_move_pages
We incorrectly depended on the 'node_state/node_isset()' functions
testing the node range, rather than checking it explicitly.  That's not
reliable, even if it might often happen to work.  So do the proper
explicit test.

Reported-by: Marcus Meissner <meissner@suse.de>
Acked-and-tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-02-06 13:00:37 -08:00
..
2009-12-03 13:49:43 +01:00
2009-04-01 08:59:13 -07:00
2010-02-02 18:11:22 -08:00
2009-06-16 19:47:28 -07:00
2009-12-15 08:53:20 -08:00
2009-09-22 07:17:35 -07:00
2009-12-30 12:23:27 -08:00
2009-12-15 08:53:16 -08:00
2007-10-20 01:27:18 +02:00
2009-12-17 15:45:32 -08:00
2009-12-16 19:48:48 -05:00
2009-12-28 20:57:27 +02:00
2009-12-15 08:53:19 -08:00
2009-06-23 12:50:05 -07:00
2010-01-13 16:09:33 -08:00