bdi: Mark congested->bdi as internal
[sfrench/cifs-2.6.git] / include / linux / backing-dev-defs.h
index ad955817916d00c35b6b41d204ec61013c88a10f..8fb3dcdebc80e943aff2bd272460d2ed1fb9aa12 100644 (file)
@@ -54,7 +54,9 @@ struct bdi_writeback_congested {
        atomic_t refcnt;                /* nr of attached wb's and blkg */
 
 #ifdef CONFIG_CGROUP_WRITEBACK
-       struct backing_dev_info *bdi;   /* the associated bdi */
+       struct backing_dev_info *__bdi; /* the associated bdi, set to NULL
+                                        * on bdi unregistration. For memcg-wb
+                                        * internal use only! */
        int blkcg_id;                   /* ID of the associated blkcg */
        struct rb_node rb_node;         /* on bdi->cgwb_congestion_tree */
 #endif