aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Bob Liu <lliubbo@gmail.com> 2011-06-27 16:18:06 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2011-06-27 18:00:12 -0700
commit2b4b2482e70eba10dd98653a3a5ac68126565e24 (patch)
tree81f933ce6291135529cda6581c59c55386d2832e /Documentation
parentum: add asm/percpu.h (diff)
downloadlinux-2b4b2482e70eba10dd98653a3a5ac68126565e24.tar.gz
linux-2b4b2482e70eba10dd98653a3a5ac68126565e24.tar.bz2
linux-2b4b2482e70eba10dd98653a3a5ac68126565e24.zip
romfs: fix romfs_get_unmapped_area() argument check
romfs_get_unmapped_area() checks argument `len' without considering PAGE_ALIGN which will cause do_mmap_pgoff() return -EINVAL error after commit f67d9b1576c ("nommu: add page_align to mmap"). Fix the check by changing it in same way ramfs_nommu_get_unmapped_area() was changed in ramfs/file-nommu.c. Signed-off-by: Bob Liu <lliubbo@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: Paul Mundt <lethal@linux-sh.org> Acked-by: Greg Ungerer <gerg@snapgear.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions