Skip to content

Commit 0d8bc0b

Browse files
Xiu Jianfengakpm00
authored andcommitted
writeback: cleanup bdi_sched_wait()
bdi_sched_wait() is no longer used since commit 839a8e8 ("writeback: replace custom worker pool implementation with unbound workqueue"), so remove it. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Xiu Jianfeng <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Acked-by: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent cdb5c9e commit 0d8bc0b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/linux/backing-dev.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,6 @@ static inline bool mapping_can_writeback(struct address_space *mapping)
140140
return inode_to_bdi(mapping->host)->capabilities & BDI_CAP_WRITEBACK;
141141
}
142142

143-
static inline int bdi_sched_wait(void *word)
144-
{
145-
schedule();
146-
return 0;
147-
}
148-
149143
#ifdef CONFIG_CGROUP_WRITEBACK
150144

151145
struct bdi_writeback *wb_get_lookup(struct backing_dev_info *bdi,

0 commit comments

Comments
 (0)