summaryrefslogtreecommitdiffstats
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2010-03-05 22:41:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 20:26:24 +0100
commit06f9d8c2b50060543fb6e0af87ddb86e654dee6b (patch)
tree0e0f7687c58e0948334f238208529d65de165eea /mm/mlock.c
parentmm: mlock_vma_pages_range() never return negative value (diff)
downloadlinux-06f9d8c2b50060543fb6e0af87ddb86e654dee6b.tar.xz
linux-06f9d8c2b50060543fb6e0af87ddb86e654dee6b.zip
mm: mlock_vma_pages_range() only return success or failure
Currently, mlock_vma_pages_range() only return len or 0. then current error handling of mmap_region() is meaningless complex. This patch makes simplify and makes consist with brk() code. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Nick Piggin <npiggin@suse.de> Cc: Lee Schermerhorn <lee.schermerhorn@hp.com> Cc: Rik van Riel <riel@redhat.com> Cc: KAMEZAWA Hiroyuki <kamewzawa.hiroyu@jp.fujitsu.com> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions