new helper: vm_mmap_pgoff()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 May 2012 00:17:35 +0000 (20:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Jun 2012 14:37:18 +0000 (10:37 -0400)
commiteb36c5873b96e8c7376768d3906da74aae6e3839
tree01c5290ed4c55fea85e0dc3f8d70eeaab44678cf
parentdc982501d9643ab0c117e7d87562857ce234652d
new helper: vm_mmap_pgoff()

take it to mm/util.c, convert vm_mmap() to use of that one and
take it to mm/util.c as well, convert both sys_mmap_pgoff() to
use of vm_mmap_pgoff()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/internal.h
mm/mmap.c
mm/nommu.c
mm/util.c