Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38681
b: refs/heads/master
c: d2d7b8a
h: refs/heads/master
i:
  38679: d5ce4eb
v: v3
  • Loading branch information
Steven Whitehouse committed May 2, 2006
1 parent ba7d49c commit c4f22a0
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: 56409abbf8a9e3754d752d0189f9b9a609ec78de
refs/heads/master: d2d7b8a2a756fb520792ca3db3abdeed9214ae5b
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/ops_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static int gfs2_writepage(struct page *page, struct writeback_control *wbc)

/* Is the page fully outside i_size? (truncate in progress) */
offset = i_size & (PAGE_CACHE_SIZE-1);
if (page->index >= end_index+1 || !offset) {
if (page->index > end_index || (page->index == end_index && !offset)) {
page->mapping->a_ops->invalidatepage(page, 0);
unlock_page(page);
return 0; /* don't care */
Expand Down

0 comments on commit c4f22a0

Please sign in to comment.