Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322374
b: refs/heads/master
c: 256dd1b
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Behrens authored and Chris Mason committed Aug 28, 2012
1 parent 23efd32 commit 9b0badf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: d280e5be940931c84bb2e9831ead9d02bc785484
refs/heads/master: 256dd1bb3750ac5ad49b40887c1691788dc44b33
8 changes: 6 additions & 2 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,13 @@ static int btree_read_extent_buffer_pages(struct btrfs_root *root,
ret = read_extent_buffer_pages(io_tree, eb, start,
WAIT_COMPLETE,
btree_get_extent, mirror_num);
if (!ret && !verify_parent_transid(io_tree, eb,
if (!ret) {
if (!verify_parent_transid(io_tree, eb,
parent_transid, 0))
break;
break;
else
ret = -EIO;
}

/*
* This buffer's crc is fine, but its contents are corrupted, so
Expand Down

0 comments on commit 9b0badf

Please sign in to comment.