From 11bc1cd2a565ab90f16dba2da40cba5e30128783 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Fri, 2 Mar 2007 09:47:58 -0500 Subject: Fix extent code to use merge during delete Remove implicit commit in del_item and insert_item Add implicit commit to close() Add commit op in random-test --- disk-io.c | 1 + 1 file changed, 1 insertion(+) (limited to 'disk-io.c') diff --git a/disk-io.c b/disk-io.c index 656ace61..f7ca5362 100644 --- a/disk-io.c +++ b/disk-io.c @@ -239,6 +239,7 @@ static int drop_cache(struct ctree_root *root) } int close_ctree(struct ctree_root *root) { + commit_transaction(root); drop_cache(root->extent_root); drop_cache(root); BUG_ON(!list_empty(&root->trans)); -- cgit v1.2.3