aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 656ace6147a8..f7ca5362291e 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -239,6 +239,7 @@ static int drop_cache(struct ctree_root *root)
239} 239}
240int close_ctree(struct ctree_root *root) 240int close_ctree(struct ctree_root *root)
241{ 241{
242 commit_transaction(root);
242 drop_cache(root->extent_root); 243 drop_cache(root->extent_root);
243 drop_cache(root); 244 drop_cache(root);
244 BUG_ON(!list_empty(&root->trans)); 245 BUG_ON(!list_empty(&root->trans));