summaryrefslogtreecommitdiffstats
path: root/include/linux/backing-dev-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/backing-dev-defs.h')
-rw-r--r--include/linux/backing-dev-defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/backing-dev-defs.h b/include/linux/backing-dev-defs.h
index 24251762c20c..9a6bc0951cfa 100644
--- a/include/linux/backing-dev-defs.h
+++ b/include/linux/backing-dev-defs.h
@@ -12,6 +12,7 @@
12#include <linux/timer.h> 12#include <linux/timer.h>
13#include <linux/workqueue.h> 13#include <linux/workqueue.h>
14#include <linux/kref.h> 14#include <linux/kref.h>
15#include <linux/refcount.h>
15 16
16struct page; 17struct page;
17struct device; 18struct device;
@@ -75,7 +76,7 @@ enum wb_reason {
75 */ 76 */
76struct bdi_writeback_congested { 77struct bdi_writeback_congested {
77 unsigned long state; /* WB_[a]sync_congested flags */ 78 unsigned long state; /* WB_[a]sync_congested flags */
78 atomic_t refcnt; /* nr of attached wb's and blkg */ 79 refcount_t refcnt; /* nr of attached wb's and blkg */
79 80
80#ifdef CONFIG_CGROUP_WRITEBACK 81#ifdef CONFIG_CGROUP_WRITEBACK
81 struct backing_dev_info *__bdi; /* the associated bdi, set to NULL 82 struct backing_dev_info *__bdi; /* the associated bdi, set to NULL