summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index a8a40bc26c2f..0aef79e934bb 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -706,7 +706,7 @@ void wbc_detach_inode(struct writeback_control *wbc)
706EXPORT_SYMBOL_GPL(wbc_detach_inode); 706EXPORT_SYMBOL_GPL(wbc_detach_inode);
707 707
708/** 708/**
709 * wbc_account_io - account IO issued during writeback 709 * wbc_account_cgroup_owner - account writeback to update inode cgroup ownership
710 * @wbc: writeback_control of the writeback in progress 710 * @wbc: writeback_control of the writeback in progress
711 * @page: page being written out 711 * @page: page being written out
712 * @bytes: number of bytes being written out 712 * @bytes: number of bytes being written out
@@ -715,8 +715,8 @@ EXPORT_SYMBOL_GPL(wbc_detach_inode);
715 * controlled by @wbc. Keep the book for foreign inode detection. See 715 * controlled by @wbc. Keep the book for foreign inode detection. See
716 * wbc_detach_inode(). 716 * wbc_detach_inode().
717 */ 717 */
718void wbc_account_io(struct writeback_control *wbc, struct page *page, 718void wbc_account_cgroup_owner(struct writeback_control *wbc, struct page *page,
719 size_t bytes) 719 size_t bytes)
720{ 720{
721 struct cgroup_subsys_state *css; 721 struct cgroup_subsys_state *css;
722 int id; 722 int id;
@@ -753,7 +753,7 @@ void wbc_account_io(struct writeback_control *wbc, struct page *page,
753 else 753 else
754 wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes); 754 wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes);
755} 755}
756EXPORT_SYMBOL_GPL(wbc_account_io); 756EXPORT_SYMBOL_GPL(wbc_account_cgroup_owner);
757 757
758/** 758/**
759 * inode_congested - test whether an inode is congested 759 * inode_congested - test whether an inode is congested