Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174852
b: refs/heads/master
c: 570dcf2
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Dec 11, 2009
1 parent 894622e commit a185601
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ea1d13f64efdf49319e86c87d9ba38c30902782
refs/heads/master: 570dcf2c15463842e384eb597a87c1e39bead99b
5 changes: 0 additions & 5 deletions trunk/arch/s390/kernel/compat_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,11 +642,6 @@ static inline long do_mmap2(

down_write(&current->mm->mmap_sem);
error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
if (!IS_ERR((void *) error) && error + len >= 0x80000000ULL) {
/* Result is out of bounds. */
do_munmap(current->mm, addr, len);
error = -ENOMEM;
}
up_write(&current->mm->mmap_sem);

if (file)
Expand Down

0 comments on commit a185601

Please sign in to comment.