Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297880
b: refs/heads/master
c: b68dc2a
h: refs/heads/master
v: v3
  • Loading branch information
Mark Fasheh authored and David Sterba committed Mar 22, 2012
1 parent 39ce7d6 commit 85caa91
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e5df957328b18baa731307c66cfe8e7a4981df65
refs/heads/master: b68dc2a93e794c8507338c91577a277efa4555d5
5 changes: 4 additions & 1 deletion trunk/fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,10 @@ static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans,
BTRFS_FSID_SIZE);

ret = update_ref_for_cow(trans, root, buf, cow, &last_ref);
BUG_ON(ret);
if (ret) {
btrfs_std_error(root->fs_info, ret);
return ret;
}

if (root->ref_cows)
btrfs_reloc_cow_block(trans, root, buf, cow);
Expand Down

0 comments on commit 85caa91

Please sign in to comment.