History

writeback: remove {set,clear}_wb_congested

Just merge them into their only callers.

Christoph Hellwig committed 6 years ago

Commit 492d76b1 parent d5c69832 files · +8 −18Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/backing-dev-defs.h+2−12
@@ -232,18 +232,8 @@ enum { · 231 unmodified lines
232 BLK_RW_SYNC = 1,232 BLK_RW_SYNC = 1,
233};233};
234 234
235void clear_wb_congested(struct bdi_writeback_congested *congested, int sync);235void clear_bdi_congested(struct backing_dev_info *bdi, int sync);
236void set_wb_congested(struct bdi_writeback_congested *congested, int sync);236void set_bdi_congested(struct backing_dev_info *bdi, int sync);
237
238static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync)
239{
240 clear_wb_congested(bdi->wb.congested, sync);
241}
242
243static inline void set_bdi_congested(struct backing_dev_info *bdi, int sync)
244{
245 set_wb_congested(bdi->wb.congested, sync);
246}
247 237
248struct wb_lock_cookie {238struct wb_lock_cookie {
249 bool locked;239 bool locked;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t