Fix get_unmapped_area sanity tests

As noted by Chris Wright, we need to do the full range of tests regardless
of whether MAP_FIXED is set or not, so re-organize get_unmapped_area()
slightly to do the sanity checks unconditionally.
This commit is contained in:
Linus Torvalds 2005-05-19 22:43:37 -07:00
commit 07ab67c8d0
2 changed files with 34 additions and 29 deletions