aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/bio.c2
-rw-r--r--fs/fs-writeback.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/block/bio.c b/block/bio.c
index 2a00d349cd68..b671a0ff731c 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -2009,6 +2009,7 @@ int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css)
2009 bio->bi_css = blkcg_css; 2009 bio->bi_css = blkcg_css;
2010 return 0; 2010 return 0;
2011} 2011}
2012EXPORT_SYMBOL_GPL(bio_associate_blkcg);
2012 2013
2013/** 2014/**
2014 * bio_associate_current - associate a bio with %current 2015 * bio_associate_current - associate a bio with %current
@@ -2039,6 +2040,7 @@ int bio_associate_current(struct bio *bio)
2039 bio->bi_css = task_get_css(current, blkio_cgrp_id); 2040 bio->bi_css = task_get_css(current, blkio_cgrp_id);
2040 return 0; 2041 return 0;
2041} 2042}
2043EXPORT_SYMBOL_GPL(bio_associate_current);
2042 2044
2043/** 2045/**
2044 * bio_disassociate_task - undo bio_associate_current() 2046 * bio_disassociate_task - undo bio_associate_current()
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index f0520bcf2094..518c6294bf6c 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -702,6 +702,7 @@ void wbc_account_io(struct writeback_control *wbc, struct page *page,
702 else 702 else
703 wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes); 703 wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes);
704} 704}
705EXPORT_SYMBOL_GPL(wbc_account_io);
705 706
706/** 707/**
707 * inode_congested - test whether an inode is congested 708 * inode_congested - test whether an inode is congested