writeback: remove unused bdi_pending_list
There's no user left. Remove it. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Fengguang Wu <fengguang.wu@intel.com>
This commit is contained in:
@@ -130,7 +130,6 @@ void bdi_lock_two(struct bdi_writeback *wb1, struct bdi_writeback *wb2);
|
|||||||
|
|
||||||
extern spinlock_t bdi_lock;
|
extern spinlock_t bdi_lock;
|
||||||
extern struct list_head bdi_list;
|
extern struct list_head bdi_list;
|
||||||
extern struct list_head bdi_pending_list;
|
|
||||||
|
|
||||||
static inline int wb_has_dirty_io(struct bdi_writeback *wb)
|
static inline int wb_has_dirty_io(struct bdi_writeback *wb)
|
||||||
{
|
{
|
||||||
|
@@ -31,13 +31,11 @@ EXPORT_SYMBOL_GPL(noop_backing_dev_info);
|
|||||||
static struct class *bdi_class;
|
static struct class *bdi_class;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* bdi_lock protects updates to bdi_list and bdi_pending_list, as well as
|
* bdi_lock protects updates to bdi_list. bdi_list has RCU reader side
|
||||||
* reader side protection for bdi_pending_list. bdi_list has RCU reader side
|
|
||||||
* locking.
|
* locking.
|
||||||
*/
|
*/
|
||||||
DEFINE_SPINLOCK(bdi_lock);
|
DEFINE_SPINLOCK(bdi_lock);
|
||||||
LIST_HEAD(bdi_list);
|
LIST_HEAD(bdi_list);
|
||||||
LIST_HEAD(bdi_pending_list);
|
|
||||||
|
|
||||||
void bdi_lock_two(struct bdi_writeback *wb1, struct bdi_writeback *wb2)
|
void bdi_lock_two(struct bdi_writeback *wb1, struct bdi_writeback *wb2)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user