summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-06-27 16:39:49 -0400
committerJens Axboe <axboe@kernel.dk>2019-07-10 11:00:57 -0400
commit34e51a5e1a6e939ed7d99c38173821ab86d577f4 (patch)
treec3a151220052cd67699f4c0e2f04daad5f5d753b /fs/buffer.c
parent9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a (diff)
blkcg, writeback: Rename wbc_account_io() to wbc_account_cgroup_owner()
wbc_account_io() does a very specific job - try to see which cgroup is actually dirtying an inode and transfer its ownership to the majority dirtier if needed. The name is too generic and confusing. Let's rename it to something more specific. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index e450c55f6434..40547bbbea94 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -3093,7 +3093,7 @@ static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh,
3093 3093
3094 if (wbc) { 3094 if (wbc) {
3095 wbc_init_bio(wbc, bio); 3095 wbc_init_bio(wbc, bio);
3096 wbc_account_io(wbc, bh->b_page, bh->b_size); 3096 wbc_account_cgroup_owner(wbc, bh->b_page, bh->b_size);
3097 } 3097 }
3098 3098
3099 submit_bio(bio); 3099 submit_bio(bio);