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
232232 BLK_RW_SYNC = 1,
233233 };
234234
235−void clear_wb_congested(struct bdi_writeback_congested *congested, int sync);
236−void set_wb_congested(struct bdi_writeback_congested *congested, int sync);
237−
238−static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync)
239−{
240− clear_wb_congested(bdi->wb.congested, sync);
241−}
242−
243−static inline void set_bdi_congested(struct backing_dev_info *bdi, int sync)
244−{
245− set_wb_congested(bdi->wb.congested, sync);
246−}
235+void clear_bdi_congested(struct backing_dev_info *bdi, int sync);
236+void set_bdi_congested(struct backing_dev_info *bdi, int sync);
247237
248238 struct wb_lock_cookie {
249239 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