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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 3712e946f9c8..865a284aa06c 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -580,7 +580,7 @@ int close_ctree(struct btrfs_root *root)
580 btrfs_transaction_flush_work(root); 580 btrfs_transaction_flush_work(root);
581 mutex_lock(&fs_info->fs_mutex); 581 mutex_lock(&fs_info->fs_mutex);
582 trans = btrfs_start_transaction(root, 1); 582 trans = btrfs_start_transaction(root, 1);
583 btrfs_commit_transaction(trans, root); 583 ret = btrfs_commit_transaction(trans, root);
584 /* run commit again to drop the original snapshot */ 584 /* run commit again to drop the original snapshot */
585 trans = btrfs_start_transaction(root, 1); 585 trans = btrfs_start_transaction(root, 1);
586 btrfs_commit_transaction(trans, root); 586 btrfs_commit_transaction(trans, root);