Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180359
b: refs/heads/master
c: d622b89
h: refs/heads/master
i:
  180357: 292d0cc
  180355: 34d7f21
  180351: 46a6335
v: v3
  • Loading branch information
Tao Ma authored and Joel Becker committed Feb 3, 2010
1 parent c766af1 commit fd8f3b4
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: 26636bf6b2010aa84c54d577231e017ba71493d0
refs/heads/master: d622b89a2f58613a9c1407b22b02aecdd2187a7c
4 changes: 2 additions & 2 deletions trunk/fs/ocfs2/refcounttree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2945,7 +2945,7 @@ static int ocfs2_duplicate_clusters_by_page(handle_t *handle,

while (offset < end) {
page_index = offset >> PAGE_CACHE_SHIFT;
map_end = (page_index + 1) << PAGE_CACHE_SHIFT;
map_end = ((loff_t)page_index + 1) << PAGE_CACHE_SHIFT;
if (map_end > end)
map_end = end;

Expand Down Expand Up @@ -3170,7 +3170,7 @@ static int ocfs2_cow_sync_writeback(struct super_block *sb,

while (offset < end) {
page_index = offset >> PAGE_CACHE_SHIFT;
map_end = (page_index + 1) << PAGE_CACHE_SHIFT;
map_end = ((loff_t)page_index + 1) << PAGE_CACHE_SHIFT;
if (map_end > end)
map_end = end;

Expand Down

0 comments on commit fd8f3b4

Please sign in to comment.