Skip to content

Commit 181387d

Browse files
committed
writeback: remove unused bdi_pending_list
There's no user left. Remove it. Signed-off-by: Tejun Heo <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Fengguang Wu <[email protected]>
1 parent 229641a commit 181387d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

include/linux/backing-dev.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ void bdi_lock_two(struct bdi_writeback *wb1, struct bdi_writeback *wb2);
130130

131131
extern spinlock_t bdi_lock;
132132
extern struct list_head bdi_list;
133-
extern struct list_head bdi_pending_list;
134133

135134
static inline int wb_has_dirty_io(struct bdi_writeback *wb)
136135
{

mm/backing-dev.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@ EXPORT_SYMBOL_GPL(noop_backing_dev_info);
3131
static struct class *bdi_class;
3232

3333
/*
34-
* bdi_lock protects updates to bdi_list and bdi_pending_list, as well as
35-
* reader side protection for bdi_pending_list. bdi_list has RCU reader side
34+
* bdi_lock protects updates to bdi_list. bdi_list has RCU reader side
3635
* locking.
3736
*/
3837
DEFINE_SPINLOCK(bdi_lock);
3938
LIST_HEAD(bdi_list);
40-
LIST_HEAD(bdi_pending_list);
4139

4240
void bdi_lock_two(struct bdi_writeback *wb1, struct bdi_writeback *wb2)
4341
{

0 commit comments

Comments
 (0)