Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374881
b: refs/heads/master
c: b8d7f3a
h: refs/heads/master
i:
  374879: d722b36
v: v3
  • Loading branch information
Josef Bacik committed May 6, 2013
1 parent c3165a5 commit 7ffc7be
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ccf7f29d1a23696ca69a981adbf7eda2e13c8635
refs/heads/master: b8d7f3ac10a865ca727f9373a796ef8537e3a474
5 changes: 2 additions & 3 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3763,10 +3763,9 @@ static int btrfs_destroy_marked_extents(struct btrfs_root *root,
if (eb)
ret = test_and_clear_bit(EXTENT_BUFFER_DIRTY,
&eb->bflags);
if (PageWriteback(page))
end_page_writeback(page);

lock_page(page);

wait_on_page_writeback(page);
if (PageDirty(page)) {
clear_page_dirty_for_io(page);
spin_lock_irq(&page->mapping->tree_lock);
Expand Down

0 comments on commit 7ffc7be

Please sign in to comment.