diff options
author | Josef Bacik <jbacik@fb.com> | 2015-03-02 12:51:02 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-03-05 20:28:30 -0500 |
commit | f5c0a122800c301eecef93275b0c5d58bb4c15d9 (patch) | |
tree | cd7cc68d0675508f3982afa3398908759552ee03 | |
parent | 84471e2429ed82fdbac0c56d5b2a18d450f99f6a (diff) |
Btrfs: remove extra run_delayed_refs in update_cowonly_root
This got added with my dirty_bgs patch, it's not needed. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r-- | fs/btrfs/transaction.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 038fcf6051e0..323c6541d3dc 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -1052,9 +1052,6 @@ static int update_cowonly_root(struct btrfs_trans_handle *trans, | |||
1052 | ret = btrfs_run_delayed_refs(trans, root, (unsigned long)-1); | 1052 | ret = btrfs_run_delayed_refs(trans, root, (unsigned long)-1); |
1053 | if (ret) | 1053 | if (ret) |
1054 | return ret; | 1054 | return ret; |
1055 | ret = btrfs_run_delayed_refs(trans, root, (unsigned long)-1); | ||
1056 | if (ret) | ||
1057 | return ret; | ||
1058 | } | 1055 | } |
1059 | 1056 | ||
1060 | return 0; | 1057 | return 0; |