Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334592
b: refs/heads/master
c: deb521c
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 19, 2012
1 parent 83ecf23 commit 3e18188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 17dbe27d8446232fdc7c69e9818cce5bbc6b3e31
refs/heads/master: deb521c44fa529b24cc78a64702757a683f82487
2 changes: 1 addition & 1 deletion trunk/mm/fremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
if (vma->vm_private_data && !(vma->vm_flags & VM_NONLINEAR))
goto out;

if (!vma->vm_ops->remap_pages)
if (!vma->vm_ops || !vma->vm_ops->remap_pages)
goto out;

if (start < vma->vm_start || start + size > vma->vm_end)
Expand Down

0 comments on commit 3e18188

Please sign in to comment.