Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251733
b: refs/heads/master
c: 7cb1a53
h: refs/heads/master
i:
  251731: 682374f
v: v3
  • Loading branch information
Darrick J. Wong authored and Theodore Ts'o committed May 18, 2011
1 parent 0484df2 commit 85d6ec1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 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: ed3ce80a52c4658f48ef8fc825bdedf8b3fcaa89
refs/heads/master: 7cb1a5351da8ac499d965a78e94c79ad27891f43
4 changes: 1 addition & 3 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2796,9 +2796,7 @@ static int write_cache_pages_da(struct address_space *mapping,
continue;
}

if (PageWriteback(page))
wait_on_page_writeback(page);

wait_on_page_writeback(page);
BUG_ON(PageWriteback(page));

if (mpd->next_page != page->index)
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/ext4/move_extent.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,8 +876,7 @@ move_extent_per_page(struct file *o_filp, struct inode *donor_inode,
* It needs to call wait_on_page_writeback() to wait for the
* writeback of the page.
*/
if (PageWriteback(page))
wait_on_page_writeback(page);
wait_on_page_writeback(page);

/* Release old bh and drop refs */
try_to_release_page(page, 0);
Expand Down

0 comments on commit 85d6ec1

Please sign in to comment.