Btrfs: Add delayed iput
[linux-2.6-block.git] / fs / btrfs / super.c
index 752a5463bf53aee147068c2a0a9f678e12250f38..270cc96b9a43b83f0d4e7af07d7b5fc46d4010a0 100644 (file)
@@ -405,8 +405,8 @@ int btrfs_sync_fs(struct super_block *sb, int wait)
                return 0;
        }
 
-       btrfs_start_delalloc_inodes(root);
-       btrfs_wait_ordered_extents(root, 0);
+       btrfs_start_delalloc_inodes(root, 0);
+       btrfs_wait_ordered_extents(root, 0, 0);
 
        trans = btrfs_start_transaction(root, 1);
        ret = btrfs_commit_transaction(trans, root);