summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-10-26 14:22:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 16:52:11 -0700
commit70384dc6dcc6aa76762200262820bdb8b724ecd5 (patch)
tree2a1692b185b2bbb9dc3890cdb897ef2a0d375c15 /crypto
parent66d7dd518ae413a383ab2c6c263cc30617329842 (diff)
downloadop-kernel-dev-70384dc6dcc6aa76762200262820bdb8b724ecd5.zip
op-kernel-dev-70384dc6dcc6aa76762200262820bdb8b724ecd5.tar.gz
mm: fix error reporting in move_pages() syscall
The vma returned by find_vma does not necessarily include the target address. If this happens the code tries to follow a page outside of any vma and returns ENOENT instead of EFAULT. Signed-off-by: Gleb Natapov <gleb@redhat.com> Acked-by: Christoph Lameter <cl@linux-foundation.org> Cc: Minchan Kim <minchan.kim@gmail.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud