fix VM_CAN_NONLINEAR check in sys_remap_file_pages
authorYan Zheng <yanzheng@21cn.com>
Mon, 8 Oct 2007 17:05:48 +0000 (10:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 8 Oct 2007 19:58:14 +0000 (12:58 -0700)
commitdd204d63cd11509081b41d7ab305fdc173382039
tree12dcbf4b258de6962b960f4f5fdd46866d7bcdc3
parenta200ee182a016752464a12cb2e8762e48254bb09
fix VM_CAN_NONLINEAR check in sys_remap_file_pages

The test for VM_CAN_NONLINEAR always fails

Signed-off-by: Yan Zheng<yanzheng@21cn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/fremap.c