Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276661
b: refs/heads/master
c: 13a79a4
h: refs/heads/master
i:
  276659: e47204d
v: v3
  • Loading branch information
Yongqiang Yang authored and Theodore Ts'o committed Dec 14, 2011
1 parent 6348919 commit 753b4e4
Show file tree
Hide file tree
Showing 2 changed files with 6 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: ea51d132dbf9b00063169c1159bee253d9649224
refs/heads/master: 13a79a4741d37fda2fbafb953f0f301dc007928f
7 changes: 5 additions & 2 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,8 +1339,11 @@ static int mpage_da_submit_io(struct mpage_da_data *mpd,
clear_buffer_unwritten(bh);
}

/* skip page if block allocation undone */
if (buffer_delay(bh) || buffer_unwritten(bh))
/*
* skip page if block allocation undone and
* block is dirty
*/
if (ext4_bh_delay_or_unwritten(NULL, bh))
skip_page = 1;
bh = bh->b_this_page;
block_start += bh->b_size;
Expand Down

0 comments on commit 753b4e4

Please sign in to comment.