Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76091
b: refs/heads/master
c: 88c3f7a
h: refs/heads/master
i:
  76089: c332ee9
  76087: 42daf75
v: v3
  • Loading branch information
Richard Knutsson authored and James Morris committed Jan 25, 2008
1 parent 6a40e14 commit a999c78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c9180a57a9ab2d5525faf8815a332364ee9e89b7
refs/heads/master: 88c3f7a8f2c86be264d326cf6f49a3e8c30d13a6
4 changes: 2 additions & 2 deletions trunk/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ static inline int expand_downwards(struct vm_area_struct *vma,
return -ENOMEM;

address &= PAGE_MASK;
error = security_file_mmap(0, 0, 0, 0, address, 1);
error = security_file_mmap(NULL, 0, 0, 0, address, 1);
if (error)
return error;

Expand Down Expand Up @@ -1941,7 +1941,7 @@ unsigned long do_brk(unsigned long addr, unsigned long len)
if (is_hugepage_only_range(mm, addr, len))
return -EINVAL;

error = security_file_mmap(0, 0, 0, 0, addr, 1);
error = security_file_mmap(NULL, 0, 0, 0, addr, 1);
if (error)
return error;

Expand Down

0 comments on commit a999c78

Please sign in to comment.