aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 775c8516abf5..2d7e3a2f56c4 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1768,6 +1768,7 @@ static inline void __end_request(struct request *rq, int uptodate,
1768 1768
1769/** 1769/**
1770 * blk_rq_bytes - Returns bytes left to complete in the entire request 1770 * blk_rq_bytes - Returns bytes left to complete in the entire request
1771 * @rq: the request being processed
1771 **/ 1772 **/
1772unsigned int blk_rq_bytes(struct request *rq) 1773unsigned int blk_rq_bytes(struct request *rq)
1773{ 1774{
@@ -1780,6 +1781,7 @@ EXPORT_SYMBOL_GPL(blk_rq_bytes);
1780 1781
1781/** 1782/**
1782 * blk_rq_cur_bytes - Returns bytes left to complete in the current segment 1783 * blk_rq_cur_bytes - Returns bytes left to complete in the current segment
1784 * @rq: the request being processed
1783 **/ 1785 **/
1784unsigned int blk_rq_cur_bytes(struct request *rq) 1786unsigned int blk_rq_cur_bytes(struct request *rq)
1785{ 1787{