writeback: implement bdi_wait_for_completion()
[firefly-linux-kernel-4.4.55.git] / include / linux / backing-dev-defs.h
index 8c857d723023260e6b7aa117e53b143af41a8a26..97a92fa0cdb59900c0d216a867bc6c5d2a0c2ab1 100644 (file)
@@ -155,6 +155,8 @@ struct backing_dev_info {
        struct rb_root cgwb_congested_tree; /* their congested states */
        atomic_t usage_cnt; /* counts both cgwbs and cgwb_contested's */
 #endif
+       wait_queue_head_t wb_waitq;
+
        struct device *dev;
 
        struct timer_list laptop_mode_wb_timer;