Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318867
b: refs/heads/master
c: df57dbe
h: refs/heads/master
i:
  318865: 4ad407c
  318863: 0f86bff
v: v3
  • Loading branch information
Liu Bo authored and Chris Mason committed Jul 23, 2012
1 parent c2025f6 commit 2b0b937
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: 51561ffec9614618f3da362f9d1b03a95b717484
refs/heads/master: df57dbe6bf73cc44305d81c24982a11da49b1f79
4 changes: 3 additions & 1 deletion trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2581,8 +2581,10 @@ static noinline int check_delayed_ref(struct btrfs_trans_handle *trans,

node = rb_prev(node);
if (node) {
int seq = ref->seq;

ref = rb_entry(node, struct btrfs_delayed_ref_node, rb_node);
if (ref->bytenr == bytenr)
if (ref->bytenr == bytenr && ref->seq == seq)
goto out_unlock;
}

Expand Down

0 comments on commit 2b0b937

Please sign in to comment.