Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156041
b: refs/heads/master
c: e4c6f8b
h: refs/heads/master
i:
  156039: ccb5b3e
v: v3
  • Loading branch information
Eric Sandeen authored and Linus Torvalds committed Jul 30, 2009
1 parent 8289f9c commit 0121d68
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: 659098141d02eb8e3545be8969d262e02d2f3f98
refs/heads/master: e4c6f8bed01f9f9a5c607bd689bf67e7b8a36bd8
2 changes: 1 addition & 1 deletion trunk/mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2370,7 +2370,7 @@ void hugetlb_unreserve_pages(struct inode *inode, long offset, long freed)
long chg = region_truncate(&inode->i_mapping->private_list, offset);

spin_lock(&inode->i_lock);
inode->i_blocks -= blocks_per_huge_page(h);
inode->i_blocks -= (blocks_per_huge_page(h) * freed);
spin_unlock(&inode->i_lock);

hugetlb_put_quota(inode->i_mapping, (chg - freed));
Expand Down

0 comments on commit 0121d68

Please sign in to comment.