mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
block: export bio_associate_*() and wbc_account_io()
bio_associate_blkcg(), bio_associate_current() and wbc_account_io() are used to implement cgroup writeback support for filesystems and thus need to be exported. Export them. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
5f6c2d2b7d
commit
5aa2a96b34
2 changed files with 3 additions and 0 deletions
|
@ -702,6 +702,7 @@ void wbc_account_io(struct writeback_control *wbc, struct page *page,
|
|||
else
|
||||
wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(wbc_account_io);
|
||||
|
||||
/**
|
||||
* inode_congested - test whether an inode is congested
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue