Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374889
b: refs/heads/master
c: 79fb65a
h: refs/heads/master
i:
  374887: 484abd6
v: v3
  • Loading branch information
Josef Bacik committed May 6, 2013
1 parent cc97740 commit 79264be
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: 9bb91873e32af6305a1c5239024674e4a5a97e92
refs/heads/master: 79fb65a1f6d97febc232e1e4e56019b0c9208541
5 changes: 2 additions & 3 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,9 @@ static int btree_readpage_end_io_hook(struct page *page, u64 start, u64 end,
if (!ret)
set_extent_buffer_uptodate(eb);
err:
if (test_bit(EXTENT_BUFFER_READAHEAD, &eb->bflags)) {
clear_bit(EXTENT_BUFFER_READAHEAD, &eb->bflags);
if (reads_done &&
test_and_clear_bit(EXTENT_BUFFER_READAHEAD, &eb->bflags))
btree_readahead_hook(root, eb, eb->start, ret);
}

if (ret) {
/*
Expand Down

0 comments on commit 79264be

Please sign in to comment.