Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374870
b: refs/heads/master
c: 98ad43b
h: refs/heads/master
v: v3
  • Loading branch information
Wang Shilong authored and Josef Bacik committed May 6, 2013
1 parent 066198f commit 541c9ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 47fb091fb787420cd195e66f162737401cce023f
refs/heads/master: 98ad43be0a7ec87962b194a09ae9514bf2443f35
14 changes: 2 additions & 12 deletions trunk/fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,23 +707,13 @@ static int __btrfs_end_transaction(struct btrfs_trans_handle *trans,
int btrfs_end_transaction(struct btrfs_trans_handle *trans,
struct btrfs_root *root)
{
int ret;

ret = __btrfs_end_transaction(trans, root, 0);
if (ret)
return ret;
return 0;
return __btrfs_end_transaction(trans, root, 0);
}

int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans,
struct btrfs_root *root)
{
int ret;

ret = __btrfs_end_transaction(trans, root, 1);
if (ret)
return ret;
return 0;
return __btrfs_end_transaction(trans, root, 1);
}

int btrfs_end_transaction_dmeta(struct btrfs_trans_handle *trans,
Expand Down

0 comments on commit 541c9ba

Please sign in to comment.