Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9811
b: refs/heads/master
c: f5154a9
h: refs/heads/master
i:
  9809: 4058bcf
  9807: 79675e9
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Oct 11, 2005
1 parent f25152e commit a07f0bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9149ccfa3571eaa4a4b444777d67fc4ed3ebcf27
refs/heads/master: f5154a98a1931641f0448f6512294a15279110d7
3 changes: 3 additions & 0 deletions trunk/mm/fremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ int install_page(struct mm_struct *mm, struct vm_area_struct *vma,
size = (i_size_read(inode) + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
if (!page->mapping || page->index >= size)
goto err_unlock;
err = -ENOMEM;
if (page_mapcount(page) > INT_MAX/2)
goto err_unlock;

zap_pte(mm, vma, addr, pte);

Expand Down

0 comments on commit a07f0bf

Please sign in to comment.