]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/backing-dev.c
PCI: layerscape: Add support for LS1043a and LS2080a
[karo-tx-linux.git] / mm / backing-dev.c
index dac5bf59309d04d119b699ba47d849993edbec09..2df8ddcb0ca0a7f7a055456de4b46a8c55bbfdf1 100644 (file)
@@ -55,13 +55,13 @@ static int bdi_debug_stats_show(struct seq_file *m, void *v)
 
        nr_dirty = nr_io = nr_more_io = nr_dirty_time = 0;
        spin_lock(&wb->list_lock);
-       list_for_each_entry(inode, &wb->b_dirty, i_wb_list)
+       list_for_each_entry(inode, &wb->b_dirty, i_io_list)
                nr_dirty++;
-       list_for_each_entry(inode, &wb->b_io, i_wb_list)
+       list_for_each_entry(inode, &wb->b_io, i_io_list)
                nr_io++;
-       list_for_each_entry(inode, &wb->b_more_io, i_wb_list)
+       list_for_each_entry(inode, &wb->b_more_io, i_io_list)
                nr_more_io++;
-       list_for_each_entry(inode, &wb->b_dirty_time, i_wb_list)
+       list_for_each_entry(inode, &wb->b_dirty_time, i_io_list)
                if (inode->i_state & I_DIRTY_TIME)
                        nr_dirty_time++;
        spin_unlock(&wb->list_lock);
@@ -523,7 +523,7 @@ static int cgwb_create(struct backing_dev_info *bdi,
        int ret = 0;
 
        memcg = mem_cgroup_from_css(memcg_css);
-       blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &blkio_cgrp_subsys);
+       blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys);
        blkcg = css_to_blkcg(blkcg_css);
        memcg_cgwb_list = mem_cgroup_cgwb_list(memcg);
        blkcg_cgwb_list = &blkcg->cgwb_list;
@@ -645,7 +645,7 @@ struct bdi_writeback *wb_get_create(struct backing_dev_info *bdi,
 
                        /* see whether the blkcg association has changed */
                        blkcg_css = cgroup_get_e_css(memcg_css->cgroup,
-                                                    &blkio_cgrp_subsys);
+                                                    &io_cgrp_subsys);
                        if (unlikely(wb->blkcg_css != blkcg_css ||
                                     !wb_tryget(wb)))
                                wb = NULL;