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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 113cd43530ba..01a26e2eb310 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3836,7 +3836,8 @@ static void btrfs_destroy_all_ordered_extents(struct btrfs_fs_info *fs_info)
3836 while (!list_empty(&splice)) { 3836 while (!list_empty(&splice)) {
3837 root = list_first_entry(&splice, struct btrfs_root, 3837 root = list_first_entry(&splice, struct btrfs_root,
3838 ordered_root); 3838 ordered_root);
3839 list_del_init(&root->ordered_root); 3839 list_move_tail(&root->ordered_root,
3840 &fs_info->ordered_roots);
3840 3841
3841 btrfs_destroy_ordered_extents(root); 3842 btrfs_destroy_ordered_extents(root);
3842 3843