Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221758
b: refs/heads/master
c: ece413f
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Alex Elder committed Nov 10, 2010
1 parent b571316 commit 977cb15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: c6f6cd0608b1826ee1797cf57a808416e4bdb806
refs/heads/master: ece413f59f257682de4a2e2e42af33b016af53f3
7 changes: 4 additions & 3 deletions trunk/fs/xfs/linux-2.6/xfs_aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1111,11 +1111,12 @@ xfs_vm_writepage(
uptodate = 0;

/*
* A hole may still be marked uptodate because discard_buffer
* leaves the flag set.
* set_page_dirty dirties all buffers in a page, independent
* of their state. The dirty state however is entirely
* meaningless for holes (!mapped && uptodate), so skip
* buffers covering holes here.
*/
if (!buffer_mapped(bh) && buffer_uptodate(bh)) {
ASSERT(!buffer_dirty(bh));
imap_valid = 0;
continue;
}
Expand Down

0 comments on commit 977cb15

Please sign in to comment.