btrfs: get fs_info from trans in btrfs_write_dirty_block_groups
[sfrench/cifs-2.6.git] / fs / btrfs / transaction.c
index f233aeb019ec6b8657f354acfb6ca91a33c65d02..cc326d964567b802bd3a7bd7dbbdaf026e63c11a 100644 (file)
@@ -1132,7 +1132,7 @@ again:
        }
 
        while (!list_empty(dirty_bgs) || !list_empty(io_bgs)) {
-               ret = btrfs_write_dirty_block_groups(trans, fs_info);
+               ret = btrfs_write_dirty_block_groups(trans);
                if (ret)
                        return ret;
                ret = btrfs_run_delayed_refs(trans, (unsigned long)-1);