From: Josef Bacik Date: Mon, 2 Mar 2015 17:51:02 +0000 (-0500) Subject: Btrfs: remove extra run_delayed_refs in update_cowonly_root X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f5c0a122800c301eecef93275b0c5d58bb4c15d9;p=linux-beck.git 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 Signed-off-by: Chris Mason --- 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, ret = btrfs_run_delayed_refs(trans, root, (unsigned long)-1); if (ret) return ret; - ret = btrfs_run_delayed_refs(trans, root, (unsigned long)-1); - if (ret) - return ret; } return 0;