aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/backing-dev.h2
-rw-r--r--include/linux/writeback.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index 96f4094b706d..47feb2c4706a 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -57,6 +57,7 @@ struct bdi_writeback {
57 struct list_head b_dirty; /* dirty inodes */ 57 struct list_head b_dirty; /* dirty inodes */
58 struct list_head b_io; /* parked for writeback */ 58 struct list_head b_io; /* parked for writeback */
59 struct list_head b_more_io; /* parked for more writeback */ 59 struct list_head b_more_io; /* parked for more writeback */
60 spinlock_t list_lock; /* protects the b_* lists */
60}; 61};
61 62
62struct backing_dev_info { 63struct backing_dev_info {
@@ -106,6 +107,7 @@ int bdi_writeback_thread(void *data);
106int bdi_has_dirty_io(struct backing_dev_info *bdi); 107int bdi_has_dirty_io(struct backing_dev_info *bdi);
107void bdi_arm_supers_timer(void); 108void bdi_arm_supers_timer(void);
108void bdi_wakeup_thread_delayed(struct backing_dev_info *bdi); 109void bdi_wakeup_thread_delayed(struct backing_dev_info *bdi);
110void bdi_lock_two(struct bdi_writeback *wb1, struct bdi_writeback *wb2);
109 111
110extern spinlock_t bdi_lock; 112extern spinlock_t bdi_lock;
111extern struct list_head bdi_list; 113extern struct list_head bdi_list;
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index 7df9026f7129..c2d957fb38d3 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -9,8 +9,6 @@
9 9
10struct backing_dev_info; 10struct backing_dev_info;
11 11
12extern spinlock_t inode_wb_list_lock;
13
14/* 12/*
15 * fs/fs-writeback.c 13 * fs/fs-writeback.c
16 */ 14 */