Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346742
b: refs/heads/master
c: bb146eb
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik authored and Chris Mason committed Dec 17, 2012
1 parent f832f7e commit c45e923
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70c8a91ce21b83ccd2d9e7c968775430ead4353d
refs/heads/master: bb146eb265091f472ada52a3419d41e9b0ff1f7d
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ static void btree_invalidatepage(struct page *page, unsigned long offset)

static int btree_set_page_dirty(struct page *page)
{
#ifdef DEBUG
struct extent_buffer *eb;

BUG_ON(!PagePrivate(page));
Expand All @@ -1009,6 +1010,7 @@ static int btree_set_page_dirty(struct page *page)
BUG_ON(!test_bit(EXTENT_BUFFER_DIRTY, &eb->bflags));
BUG_ON(!atomic_read(&eb->refs));
btrfs_assert_tree_locked(eb);
#endif
return __set_page_dirty_nobuffers(page);
}

Expand Down

0 comments on commit c45e923

Please sign in to comment.