Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166683
b: refs/heads/master
c: 35d62a9
h: refs/heads/master
i:
  166681: 69279f7
  166679: 90debc2
v: v3
  • Loading branch information
Christoph Hellwig authored and Chris Mason committed Oct 1, 2009
1 parent 1e38f0c commit 23eadd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: dd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14
refs/heads/master: 35d62a942db5ae03104929fe7397835b572c4bc4
4 changes: 3 additions & 1 deletion trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,9 @@ int btrfs_write_tree_block(struct extent_buffer *buf)
int btrfs_wait_tree_block_writeback(struct extent_buffer *buf)
{
return btrfs_wait_on_page_writeback_range(buf->first_page->mapping,
buf->start, buf->start + buf->len - 1);
buf->start >> PAGE_CACHE_SHIFT,
(buf->start + buf->len - 1) >>
PAGE_CACHE_SHIFT);
}

struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr,
Expand Down

0 comments on commit 23eadd7

Please sign in to comment.