Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258919
b: refs/heads/master
c: 2b37c35
h: refs/heads/master
i:
  258917: 3fac68a
  258915: 1e034e4
  258911: 270bbdf
v: v3
  • Loading branch information
Becky Bruce authored and Linus Torvalds committed Jul 26, 2011
1 parent 9f0d64a commit c71623c
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: d694ad62bf539dbb20a0899ac2a954555f9e4a83
refs/heads/master: 2b37c35e6552b0d04d5db9728bc7af22d53f731a
2 changes: 1 addition & 1 deletion trunk/fs/hugetlbfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static int hugetlbfs_file_mmap(struct file *file, struct vm_area_struct *vma)
vma->vm_flags |= VM_HUGETLB | VM_RESERVED;
vma->vm_ops = &hugetlb_vm_ops;

if (vma->vm_pgoff & ~(huge_page_mask(h) >> PAGE_SHIFT))
if (vma->vm_pgoff & (~huge_page_mask(h) >> PAGE_SHIFT))
return -EINVAL;

vma_len = (loff_t)(vma->vm_end - vma->vm_start);
Expand Down

0 comments on commit c71623c

Please sign in to comment.