Btrfs: Add block group pinned accounting back
[deliverable/linux.git] / fs / btrfs / disk-io.c
index 6c8533fba7c952bbca15166cb2378af8e3e51e0f..3e16cca72b4962d04d82308b1c2cd28caa65c13d 100644 (file)
@@ -569,6 +569,7 @@ struct btrfs_root *open_ctree(struct super_block *sb)
                             fs_info->btree_inode->i_mapping, GFP_NOFS);
        fs_info->do_barriers = 1;
        fs_info->closing = 0;
+       fs_info->total_pinned = 0;
 
        INIT_DELAYED_WORK(&fs_info->trans_work, btrfs_transaction_cleaner);
        BTRFS_I(fs_info->btree_inode)->root = tree_root;
This page took 0.024533 seconds and 5 git commands to generate.