file ->get_unmapped_area() shouldn't duplicate work of get_unmapped_area()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 30 Nov 2009 13:38:43 +0000 (08:38 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 11 Dec 2009 11:34:09 +0000 (06:34 -0500)
commitc4caa778157dbbf04116f0ac2111e389b5cd7a29
treed8e26c07bacaaa6b1e6b1e57816fd42da94e15f4
parent0ec62d290912bb4b989be7563851bc364ec73b56
file ->get_unmapped_area() shouldn't duplicate work of get_unmapped_area()

... we should call mm ->get_unmapped_area() instead and let our caller
do the final checks.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/sparc/kernel/sys_sparc_64.c
ipc/shm.c