diff options
Diffstat (limited to 'mm/backing-dev.c')
| -rw-r--r-- | mm/backing-dev.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index dac5bf59309d..2df8ddcb0ca0 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -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;  |