mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
writeback: remove {set,clear}_wb_congested
Just merge them into their only callers. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
d5c6983845
commit
492d76b215
2 changed files with 8 additions and 18 deletions
|
@ -232,18 +232,8 @@ enum {
|
|||
BLK_RW_SYNC = 1,
|
||||
};
|
||||
|
||||
void clear_wb_congested(struct bdi_writeback_congested *congested, int sync);
|
||||
void set_wb_congested(struct bdi_writeback_congested *congested, int sync);
|
||||
|
||||
static inline void clear_bdi_congested(struct backing_dev_info *bdi, int sync)
|
||||
{
|
||||
clear_wb_congested(bdi->wb.congested, sync);
|
||||
}
|
||||
|
||||
static inline void set_bdi_congested(struct backing_dev_info *bdi, int sync)
|
||||
{
|
||||
set_wb_congested(bdi->wb.congested, sync);
|
||||
}
|
||||
void clear_bdi_congested(struct backing_dev_info *bdi, int sync);
|
||||
void set_bdi_congested(struct backing_dev_info *bdi, int sync);
|
||||
|
||||
struct wb_lock_cookie {
|
||||
bool locked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue