Skip to contentSkip to conversation

Btrfs: remove extra run_delayed_refs in update_cowonly_root

PATCH New Josef Bacik 1 participant 1 message Mar 2, 2015 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Btrfs: remove extra run_delayed_refs in update_cowonly_root

This got added with my dirty_bgs patch, it's not needed. Thanks,

---
 fs/btrfs/transaction.c | 3 ---
 1 file changed, 3 deletions(-)
fs/btrfs/transaction.c +0 -3
index a7a413f..3d017d6 100644
@@ -1058,9 +1058,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;
Signature · 1 line
1.8.3.1